Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

findChessboardCorners returing false boolean value?

$
0
0
I am using findChessboardCorners function to find the corners in a chessboard image. ![image description](/upfiles/146958763448279.jpg) When I am executing the function on this image, I am getting an array of detected corners but the bool value returned by the function is zero. Shouldn't it be one since I'm getting an array of detected corners? Code- Mat inImage; inImage = imread("left01.jpg"); //-> Output vector corners; // This will be filled by the detected corners bool found = findChessboardCorners( inImage, Size(8,6), corners, CV_CALIB_CB_ADAPTIVE_THRESH ); cout<<"found::"<

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>