urbste / OpenImuCameraCalibrator

Camera calibration tool
GNU Affero General Public License v3.0
197 stars 43 forks source link

Assertion `m_value.object->find(key) != m_value.object->end()' failed #46

Open HaomingSong opened 1 week ago

HaomingSong commented 1 week ago

Hi urbste, Thanks for your awesome work. I'm calibrating a GoPro9 camra with OpenImuCameraCalibrator but failed. I carefully review the related issues but still strugging. I use the provided borad image and all the GoPro video can be download from here. This is my bash file:

DOWNSAMPLE_FAC=4
CAM_MODEL=FISHEYE
CHECKERSIZE=0.022
NUM_SQ_X=10
NUM_SQ_Y=8
CALIB_LINE_DELAY=0
RECOMP_CORNERS=0
GRID_SIZE=0.03

BASEPATH=/OpenImuCameraCalibrator
SETTING=.
DATASET=DATA2

python3 ../python/run_gopro_calibration.py --path_calib_dataset=${BASEPATH}/${SETTING}/${DATASET} \
    --image_downsample_factor=${DOWNSAMPLE_FAC} \
    --camera_model=${CAM_MODEL} \
    --checker_size_m=${CHECKERSIZE} \
    --num_squares_x=${NUM_SQ_X} --num_squares_y=${NUM_SQ_Y} \
    --calib_cam_line_delay=${CALIB_LINE_DELAY} \
    --board_type=apriltag \
    --recompute_corners=${RECOMP_CORNERS} \
    --optimize_board_points=1 \
    --reestimate_bias_spline_opt=1 \
    --voxel_grid_size=${GRID_SIZE}

The exception errors: image Could you give any advices? Many thanks!