Skip to content
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

Limit qr scan area? #375

Open
ajaypancholi opened this issue Apr 18, 2022 · 3 comments
Open

Limit qr scan area? #375

ajaypancholi opened this issue Apr 18, 2022 · 3 comments

Comments

@ajaypancholi
Copy link

I am using the qr scanner from Cordova-plugin-qrscanner and currently if I use it and there are multiple QR-codes closely on top of each other, I point my camera at one and it reads the code above it which is outside of the display on screen but within the cameras view. If however there is no QR-code above the one I want to scan, then it scans the correct one, so it seems like it always scans the top QR-code within the cameras view.

Is there a way to limit the "scan area" to be the same size and area as my camera view on my display?

@phildittrich
Copy link

@ajaypancholi I had the same problem and hacked a fork (some time ago), that should give you an idea: https://github.com/phildittrich/cordova-plugin-qrscanner

Only the QR codes inside the highlighted rectangle are accepted, works for Android and iOS.

@Sultanwasifiqbal
Copy link

cant work without the fork ? atleast any scanning options parameters ? and also how to display the scanned text on top of camera and continue for another scan like Cognex Barcode Scanner

@andreir91
Copy link

No response for @Sultanwasifiqbal ? Would be nice to have it without the fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants