L leitor79 Active Member Licensed User Longtime User Aug 23, 2019 #1 Hi, I'm using this "library" for QR and barcode recognition, but the rectangle draw is offset: 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!
Hi, I'm using this "library" for QR and barcode recognition, but the rectangle draw is offset: 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 Well-Known Member Licensed User Longtime User Aug 24, 2019 #2 The reason may be a picture that is not clear, clean the phone lens, in my case cleaning helped. Upvote 0
L leitor79 Active Member Licensed User Longtime User Aug 24, 2019 #3 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! Upvote 0
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!
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2019 #4 https://www.b4x.com/android/forum/t...play-services-vision.89705/page-2#post-569637 Upvote 0
L leitor79 Active Member Licensed User Longtime User Aug 26, 2019 #5 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: Thank you! Upvote 0
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: Thank you!
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2019 #6 The code will only work properly in landscape orientation. Upvote 0
L leitor79 Active Member Licensed User Longtime User Aug 26, 2019 #7 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: Thank you! Upvote 0
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: Thank you!
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2019 #8 Try the updated example. It should be fixed. Upvote 0