objp should not be objp_not_used (#91)
This commit is contained in:
parent
8075224879
commit
338c95ea27
@ -690,7 +690,7 @@ def calibrate_extrinsics(calib_dir, extrinsics_config_dict, C, S, K, D):
|
|||||||
|
|
||||||
# Find corners or label by hand
|
# Find corners or label by hand
|
||||||
if extrinsics_method == 'board':
|
if extrinsics_method == 'board':
|
||||||
imgp, objp_not_used = findCorners(img_vid_files[0], extrinsics_corners_nb, objp=object_coords_3d, show=show_reprojection_error)
|
imgp, objp = findCorners(img_vid_files[0], extrinsics_corners_nb, objp=object_coords_3d, show=show_reprojection_error)
|
||||||
if imgp == []:
|
if imgp == []:
|
||||||
logging.exception('No corners found. Set "show_detection_extrinsics" to true to click corners by hand, or change extrinsic_board_type to "scene"')
|
logging.exception('No corners found. Set "show_detection_extrinsics" to true to click corners by hand, or change extrinsic_board_type to "scene"')
|
||||||
raise ValueError('No corners found. Set "show_detection_extrinsics" to true to click corners by hand, or change extrinsic_board_type to "scene"')
|
raise ValueError('No corners found. Set "show_detection_extrinsics" to true to click corners by hand, or change extrinsic_board_type to "scene"')
|
||||||
|
Loading…
Reference in New Issue
Block a user