ZBar is an open source software suite for reading bar codes from various sources, including webcams. As its development stopped in 2012, I took the task of keeping it updated with the V4L2 API. This is the main repository for it. There's a clone at at LinuxTV.org, and another one at gitlab.
Hello,
I am working with QR codes. I have no problems if I use the full image: all codes are detected and decoded successfully.
However, if I get the ROI where the QR code is located, the decoding is not working. Here you have an example:
I have tested it with different margin sizes (to get more or less background information from the source image) and it doesn't work either.
The most amazing here is that it works if I add an small black or white border of 1px on the image. Here is an example:
Any idea or suggestion?
Thanks so much in advance.