Closed lorenzolightsgdwarf closed 9 years ago
:blush: a nice example of how perfect our test suite is... nice catch, thanks ! would you happen to have a related pull request ?
The scaling done from line 70 (maxwidth), it's not taken into account when rescaling the contours (line 123). Since ReadBit works on the original image, the detection fails.
Are you sure line 72
cv::resize(greyscaleImage, mGrayPyramid[0], cv::Size(mMaxInputWidth, greyscaleImage.rows*mMinInputWidth/greyscaleImage.cols), .0, .0, cv::INTER_NEAREST)
is correct?
I think mMinInputWidth should be mMaxInputWidth...