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

fix: remove hardcoded resolution selector #2997

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

mgefimov
Copy link
Contributor

@mgefimov mgefimov commented Jun 15, 2024

What

Hi! I noticed that on Android barcode corners detection works way better without hardcoded resolution selector. On Pixel XL automatically selected resolution is {"height": 480, "width": 640} vs {"height": 720, "width": 1280} with resolution selector

Tested on

  • Samsung Galaxy Tab S9+, Android 14
  • Pixel XL Emulator, Android 13

Demo

Galaxy tab s9+

Before

video_2024-06-15_19-20-10.mp4

After

video_2024-06-15_19-20-04.mp4

Pixel XL Emulator

Before

2024-06-15.15.59.55.mp4

After

2024-06-15.15.56.50.mp4

Copy link

vercel bot commented Jun 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2024 2:09pm

@mrousavy
Copy link
Owner

Nice work, thank you for the testing. LGTM! 👏

@mrousavy mrousavy merged commit 2c8f766 into mrousavy:main Jun 24, 2024
5 checks passed
isaaccolson pushed a commit to isaaccolson/deliveries-mobile that referenced this pull request Oct 30, 2024
…ally (mrousavy#2997)

* fix: remove hardcoded resolution selector

* fix: remove unused import

---------

Co-authored-by: Maksim Efimov <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants