Zxing scan area inaccurate

In my project, the scan area (a field that is not shadowed) does not seem to match the true scan area where the barcode is being scanned. The true area seems to be slightly above the margin as I have to place the barcode slightly above the red line (I changed the zxing mode to portrait) for the barcode to be read successfully.

So I'm wondering if the frameingRect in the CameraManager is the real scan area, or is it just not a shaded square? If so, how do I go about moving the non-shaded box up so that it matches the actual scan area (or vice versa would be nice too).


source to share

1 answer

No, the scan area is the same as the mesh. Check out the source code. I'm not sure why you think it is not. It not only scans the red line.



All Articles