[question] Using the Camera Tracking pipeline with calibration
mikeedwards opened this issue · comments
Describe the problem
When using the Camera Tracking pipeline, I fed the CameraInitLensGrid a series of checkerboard (6x8) images from a variety of angles. The init and CheckerboardDetection nodes succeed, but the DistortionCalibration nodes fails almost immediately. It makes me think there's something wrong with the content or format of my input, but I'm not sure what that could be.
I'm also not sure if the checkboard image (or the angles I shot) are the appropriate pattern/views to use (FWIW, I also tried using a single front-on flat image of the same checkboard, with the same result.)
Is there a specific expected input to use for these nodes?
Log
[2024-06-04 22:27:51.735536] [0x0000091c] [trace] Embedded OCIO configuration file: 'C:\_____________\Meshroom-2023.3.0-win64\Meshroom-2023.3.0\aliceVision/share/aliceVision/config.ocio' found.
Program called with the following parameters:
* cameraModel = "3deanamorphic4"
* checkerboards = "D:/projects/assets/calibration/MeshroomCache/CheckerboardDetection/5f3e0b83af8204fce2bb1f0b9fca8690b749df0e"
* input = "D:/projects/assets/calibration/MeshroomCache/CameraInit/0c3ae6bf3a3d2ee185b4fe74dfc4c726059e4745/cameraInit.sfm"
* maxCoresAvailable = Unknown Type "unsigned int" (default)
* maxMemoryAvailable = 18446744073709551615 (default)
* output = "D:/projects/assets/calibration/MeshroomCache/DistortionCalibration/b5989bbce87b3e004c5b32bad37a4fc360bd0a7c/sfmData.sfm"
* verboseLevel = "trace"
Hardware :
Detected core count : 20
OpenMP will use 20 cores
Detected available memory : 47382 Mo
[22:27:51.775519][info] Processing Intrinsic 3316886351
[22:27:51.776520][error] Failed to calibrate at step 0
[22:27:51.776520][error] Error estimating distortion
Desktop (please complete the following and other pertinent information):
- OS: win 11
- Python version 3.11.9
- Meshroom version:
- Binary 2023.3.0
Additional Content:
Just as an experiment, I tried swapping DistortionCalibration for CheckerboardCalibration and:
- it didn't fail, but
- ExportDistortion succeeded after it, but didn't actually output anything
- the final line of the CheckboardCalibration log reads:
Termination: NO_CONVERGENCE (Maximum number of iterations reached. Number of iterations: 50.)