Please take a look at the
https://en.wikipedia.org/wiki/QR_code#Standards.
The green-marked white space around the QR Code is a part of it.
That's a Quiet Zone. The specification says that 4 modules (four
"dots") around the actual content and is required.
Polluting the Quiet Zone will reduce the detection rate to a point
where it may no longer be detected at all.
TLDR; Draw the bounding box 4 modules/dots away from the content.
На вт, 7.05.2019 г. в 17:38 ч. ackh <
ack...@gmail.com> написа:
>
> Hi
>
> When attempting to draw a bounding box around a QR code recognized by ZXing, I'm encountering a problem with the coordinates that I receive from ZXing. I have outlined the problem in more details on StackOverflow:
https://stackoverflow.com/q/56024707/5548098
>
> Because it is already described there, I'm omitting further details. If this is not how it should be done, please forgive me and let me know so that I can adjust accordingly.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups "zxing" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
zxing+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/zxing/46bac7ec-346d-4713-a9f4-7489bdf1345c%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.