Android Question rectangle offset in barcode & QR recogniton

leitor79

Active Member
Licensed User
Hi,

I'm using this "library" for QR and barcode recognition, but the rectangle draw is offset:

Screenshot_20190822_185750_anywheresoftware.b4a.samples.camera.jpg

Screenshot_20190822_185859_anywheresoftware.b4a.samples.camera.jpg

I could try to manually adjust the drawing, but this app will run in several devices and I don't know if the manual offset would be the same for all of them...

Thak you!
 

kisoft

Active Member
Licensed User
The reason may be a picture that is not clear, clean the phone lens, in my case cleaning helped.
 

leitor79

Active Member
Licensed User
HI kisoft, thank you for the answer.
The picture is clear and I have no problem recognizing the code. The screenshot is blurry because I have to double tap to take it.

The issue I'm asking is about the red rectangle being drawn outside the barcode.

Thank you!
 

leitor79

Active Member
Licensed User
Hi Erel, thank you for your answer.
I don't think I've understood your answer. I already have the latest version of the library. Te red rectangle is drawn, but it has some kind of offset from the barcode. I'm uploading a better image:

Screenshot_20190825_212755.jpg

Thank you!
 

Erel

Administrator
Staff member
Licensed User
The code will only work properly in landscape orientation.
 

leitor79

Active Member
Licensed User
Hi Erel, thank you for your answer.
I'm having the offset issue also in landscape mode, but to the left instead of to the top:
Screenshot_20190826_103458.jpg
Thank you!
 
Top