In my project, the scanning area (the box that is non-shady) seems not consistent with the true scanning region where barcode is scanned. The true region seems to be a bit above the box, since I have to place the barcode a bit above the red line (I changed my zxing to portrait mode) in order for the barcode to be read successfully.
So I wonder if the framingRect in CameraManager is the actual scanning area, or it is just a non-shady box? If so, how should I do to move the non-shady box up so that it align with the actual scanning area, (or vice-versa would be fine as well).
No, the scanning region is the same as the reticle. Have a look at the source code. I am not sure why you think it isn't. It does not only scan on the red line.