Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calibrate depth error #581

Open
yaozipeng opened this issue Dec 22, 2021 · 1 comment
Open

calibrate depth error #581

yaozipeng opened this issue Dec 22, 2021 · 1 comment

Comments

@yaozipeng
Copy link

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)

@mrudorfer
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants