fixed corners emptiness check in drawChessboardCorners (thanks to thomask)
This commit is contained in:
parent
ce808af594
commit
d95bf478fe
@ -1917,7 +1917,7 @@ void cv::drawChessboardCorners( InputOutputArray _image, Size patternSize,
|
||||
bool patternWasFound )
|
||||
{
|
||||
Mat corners = _corners.getMat();
|
||||
if( !corners.empty() )
|
||||
if( corners.empty() )
|
||||
return;
|
||||
CvMat c_image = _image.getMat();
|
||||
int nelems = corners.checkVector(2, CV_32F, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user