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

limiting Camera view #110

Open
sgabardi opened this issue Jul 2, 2023 · 1 comment
Open

limiting Camera view #110

sgabardi opened this issue Jul 2, 2023 · 1 comment
Labels
question Further information is requested

Comments

@sgabardi
Copy link

sgabardi commented Jul 2, 2023

hi,
i'm just beginning coding SWIFT and i'm wondering, if there is a way to limit the view of the camera and do a red line for scanning? So only the barcode that is under the red line in the camera view should be read.

thank you!

@nathanfallet
Copy link
Collaborator

I'm not sure it's possible to limit the zone for scanning, but at least you can check the ScanResult.corners and filter if it's in the area you want.

@nathanfallet nathanfallet added the question Further information is requested label Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants