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

feat(barcode-scanning): add cornerPoints option #130

Open
3 of 7 tasks
robingenz opened this issue Feb 17, 2024 · 4 comments
Open
3 of 7 tasks

feat(barcode-scanning): add cornerPoints option #130

robingenz opened this issue Feb 17, 2024 · 4 comments

Comments

@robingenz
Copy link
Member

Plugin(s)

  • Barcode Scanning
  • Face Detection
  • Face Mesh Detection
  • Selfie Segmentation
  • Translation

Current problem

Currently, all detected barcodes are passed to the webview, even if they are outside a scan area. This leads to unnecessary data being transferred between the native layer and the web layer. In addition, some logic needs to be implemented at the web layer to filter out the barcodes that are outside the scan area.

Preferred solution

Add a cornerPoints option that allows you to define a valid area on the native layer. In the first step, this should have no effect on the size of the camera view. This information should only be used to filter the barcodes on the native layer.

In the next step, something like #79 could be implemented.

Alternative options

No response

Additional context

See #96 (comment)

Before submitting

@robingenz
Copy link
Member Author

@Melynt3 Is that related to this issue?

@Melynt3
Copy link

Melynt3 commented Feb 21, 2024

@Melynt3 Is that related to this issue?

sorry, got opened few tabs, already posted it correctly

@mansours

This comment was marked as off-topic.

@robingenz
Copy link
Member Author

@mansours Your comment is not related to this issue. Feel free to create a new issue.

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

No branches or pull requests

3 participants