Chessboard Calibration DBL_EPSILON error
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?
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