-
Notifications
You must be signed in to change notification settings - Fork 62
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
Latest version 1.3 crashes with refine_corner flag #85
Comments
Also after boards extraction i got this: 0011632 | 2024-10-07, 08:51:40.934021 [info] - Number of detected corners :: 16 Aborted (core dumped) |
Here i changed to Brown lens model 0001916 | 2024-10-07, 09:51:24.069684 [info] - Number of detected corners :: 16 Aborted (core dumped) |
So this version unstable |
Version 1.2.1 works fine with the same dataset. |
%YAML:1.0nb_camera: 1 |
Have rebuild opencv from 4.5.5 to 4.6.0 and the problem gone away for 1.3 version. |
@vswdigitall Apparently, there are many breaking changes (no backward compatibility) in OpenCV 4.6.0 and 4.7.0 in relationship to charuco boards. Please make sure to use the same OpenCV version for board generation and calibration. Since we have not tested McCalib with newer versions yet, I'd recommend using OpenCV 4.2.0 until we verify later versions. |
I would most likely use the fisheye model for this camera. When you use the fisheye model, are you facing this issue?
We have addressed a similar problem in a previous commit to avoid points outside of the image. Maybe you can adjust the tolerance threshold? I hope it will help Link |
Yes, thanks. I forgot this magic parameter. With 0.2 my dataset calibrated as fisheye on opencv 4.5.4. |
System information (version)
Vision system
0000001 | 2024-10-06, 19:44:21.266054 [info] - Nb of cameras : 6 Nb of Boards : 9 Refined Corners : true Distortion mode : 1
0000002 | 2024-10-06, 19:44:21.266414 [info] - Extraction camera 001
0000003 | 2024-10-06, 19:44:21.270420 [info] - Number of threads for board detection :: 8
0001500 | 2024-10-06, 19:44:22.039815 [info] - Number of detected corners :: 16
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.5.5) /home/vsw/opencv/opencv/modules/imgproc/src/filterengine.hpp:367: error: (-215:Assertion failed) anchor.inside(Rect(0, 0, ksize.width, ksize.height)) in function 'normalizeAnchor'
The text was updated successfully, but these errors were encountered: