Ask Your Question

Chessboard Calibration DBL_EPSILON error

asked 2020-09-11 13:33:31 -0500

ConnorM gravatar image

When using videos of my ChArUco chessboard for camera calibration I get the following error on some of my video frames when passing my data to aruco::calibrateCameraCharuco. Error: modules/calib3d/src/calibration.cpp:1211: error: (-215:Assertion failed) fabs(sc) > DBL_EPSILON in function 'cvFindExtrinsicCameraParams2'

Can anyone help me figure out what is wrong and if there is a conditional statement or something I can use to fix this?

edit retag flag offensive close merge delete


Guessing what is wrong would be easier if there was code to guess from... but the error implies that something is too close to zero and as it happens to some frames, the reason is that some of your frames are empty - and your code fails to check and handle that

mvuori gravatar imagemvuori ( 2020-09-12 08:52:51 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2020-09-22 10:41:03 -0500

ConnorM gravatar image

This problem was solved after ensuring that at least 8 points (corners) were found in each calibration image. I added a check after charucoPoint interpolation to only accept the result if 8 or more corners were found.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-09-11 13:33:31 -0500

Seen: 243 times

Last updated: Sep 22 '20