Fixed issue #20880, QRDetect::searchHorizontalLines() boundary condition will skip the matched qrcode near the end#20882
Conversation
|
@flytogcp Thank you for fix. Could you please add test for this case or provide picture you tested? |
|
@APrigarina , ok, it's a coincidence to find this scene. The QR code stake point is just at the edge |
|
@flytogcp could you please describe attached image |
|
@flytogcp Hi! could you please provide an image which can be used for testing? E.g., to avoid regressions in the future - test should fail without this patch and it should pass with proposed patch. |
|
@flytogcp do you have any updates about questions above? |
|
@APrigarina @alalek Because my scenario is not directly using opencv to recognize the QR code, but only using the QR code pile point recognition algorithm in opencv, and then my test process found the problem of this pile point recognition algorithm. And I'm sorry, I can not directly add a complete QR code test case, the following is my test image (the test image is characterized by the black edge of the second pile point in the horizontal direction at the edge of the image). Because the first step of QR code recognition is to locate the pile point, so if the same situation occurs in the complete QR code, it should be the same recognition can not be identified |
Fixed issue opencv#20880, QRDetect::searchHorizontalLines() boundary condition will skip the matched qrcode near the end


resolves #20880
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.