-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need full screen camera and the scanning for barcode should be done in between a rectangular square #54
Comments
Maybe this would help?: |
@urlAkash did you find any solution, i am looking for exactly same thing? |
@khurramengr Kindly look this link And for rectangular square, You have to draw one rectangular at camera activity java file |
@urlAkash that's what I've already done, i need to know how do we feed the Bar Code Scanning Algorithm some portion(the portion which is inside the rectangle) of each Camera frame so that it processes only that specific region for BarCode and not the entire frame.
here we are building the Frame from mPendingFrameData, which is the entire frame data from camera. I need to know how do we crop the frame here so that we could send the cropped Frame to this code
|
When I had drawn a border on the camera activity, The barcode will get scanned if it is within that border(ROI). I didn't coded anything to make scanning between that region of interest I had just drawn one Rectangle box above the camera activity and then when I don't know why but it happens. But after making it full screen the aspect ratio doesn't remains well, Thanks & Regards, Akash Dubey, URL Software Global Inc On Mon, Jul 25, 2016 at 9:29 PM, Khurram Shehzad [email protected]
|
In my case i had multiple bar codes in a single frame of camera but when i try to scan that frame it picks up some random bar code(which was outside the rectangle), i am currently looking for mechanism through which i could crop the Frame before passing to the BarCodeScanner. |
Hi, khurramengr have you got any solution. I have also a same requirement.In my camera preview there are multiple bar code present but I need only center one witch is in my custom rectangle( like zxing lib sample).I have done something with vision API. But it always detect random one. |
You'll have to manually process the frames before feeding them to On Wed, Oct 12, 2016 at 4:18 PM, Dibakar Mistry [email protected]
Best Regards Khurram Shehzad |
@khurramengr Any sample code to do this? Need to limit detection area due to multiple barcodes inside same frame. |
anyone has a solution to this? I, too have a multiple QR on screen. I've noticed that having 4 or more, the scanner cannot read the other. problem there is need to read them all one after another. |
ok i have solution send me detail
…On Wed, Nov 27, 2019 at 11:36 AM Newbie Developer ***@***.***> wrote:
anyone has a solution to this? I, too have a multiple QR on screen. I've
noticed that having 4 or more, the scanner cannot read the other.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#54?email_source=notifications&email_token=ADNRQFE47636C5CYHKHWOFTQVYIPZA5CNFSM4BXMKWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFIO3IA#issuecomment-558951840>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNRQFDAFXH7L7YW5BKB7CDQVYIPZANCNFSM4BXMKWUQ>
.
|
This seems to be a good solution. I'll look into this. Thanks! I'm also stumbled accross this problem and now looking for a solution. |
Anybody found any solution guys? The above workaround also not working |
How to make a middle section of the camera activity bordered and the scanning should be done between that section!!
The text was updated successfully, but these errors were encountered: