OpenCV Error: Assertion failed (abs_max < threshold) in stereoCalibrate [closed]
I am trying to run fisheye::stereoCalibrate but I run into an exception for
CV_Assert(abs_max < threshold); // bad stereo pair
This is an error I get when trying to run multiple images, however if I remove a particular image from the list it does not throw the exception. But on trying to run fisheye::stereoCalibrate for just that image I don't get any exception.
Any suggestions as to why this might be happening?
I have computed the intrinsics for each camera individually with a reproduction error of the order 0.1 , so I don't think that is the issue.
This is an assertion that explains there is a bad match between two subsequent images for stereo matching. Can you check if there is a change in camera position for the image that triggers the error?
Yes it turns out there was a slight time difference between the time the image was captured by both cameras, during which i had moved the chessboard. Thanks!!