iai_kinect2 icon indicating copy to clipboard operation
iai_kinect2 copied to clipboard

calibrate depth error

Open yaozipeng opened this issue 3 years ago • 1 comments

When I run: rosrun kinect2_calibration kinect2_calibration chess5x7x0.03 calibrate sync, it displays [INFO] [CameraCalibration::calibrateExtrinsics] re-projection error: 6.92399e-310 [INFO] [CameraCalibration::calibrateExtrinsics] Rotation: [] [INFO] [CameraCalibration::calibrateExtrinsics] Translation: [] [INFO] [CameraCalibration::calibrateExtrinsics] Essential: [] [INFO] [CameraCalibration::calibrateExtrinsics] Fundamental: []

When I run: rosrun kinect2_calibration kinect2_calibration chess5x7x0.03 calibrate depth Error: [INFO] [DepthCalibration::calibrate] frame: ./0000_depth.png terminate called after throwing an instance of'cv::Exception' what(): OpenCV(4.2.0) ../modules/calib3d/src/calibration.cpp:259: error: (-5:Bad argument) Input argument is not a valid matrix in function'cvRodrigues2' Abandoned (core dumped)

yaozipeng avatar Dec 22 '21 07:12 yaozipeng

I have the same issue. The sync calibration fails silently, the calib_pose.yaml is being created but extrinsics matrices are empty (i.e. rows: 0; cols: 0, data: []).

@yaozipeng could you make some progress on this issue? Also I am using the OpenCV4 version of this repo (see here) - not sure if it might be related to that? Which version are you using?

mrudorfer avatar Jan 18 '22 18:01 mrudorfer