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

"Enhanced QR Scanning: Camera Selection and Resolution Optimization" #198

Merged
merged 7 commits into from
Mar 21, 2024

Conversation

gkatrakazas
Copy link
Member

This pull request introduces several enhancements to the QR scanning component, ensuring more reliable and efficient operation. Key improvements include:

  1. Camera Detection on First Permission Grant: Resolves an issue where not all available cameras were detected during the initial granting of camera permissions.
  2. Optimized Camera Selection: In scenarios where multiple front or back cameras are present, the system now retains only the cameras with the highest resolution, improving scanning accuracy.
  3. Dynamic Webcam Resolution Adjustment: Implements dynamic adjustment of the webcam display to match the best available resolution based on the currently active camera. This ensures optimal clarity and performance during QR scanning.
  4. Minor UI Improvements: Includes a minor style fix for the camera switch button, enhancing the user interface and usability.

@gkatrakazas gkatrakazas requested a review from pstamatop March 21, 2024 15:12
@gkatrakazas gkatrakazas merged commit 5cf83a3 into master Mar 21, 2024
2 checks passed
@gkatrakazas gkatrakazas deleted the Fix/qr-cam branch March 27, 2024 06:52
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.

QR scanning: Camera input source is not switchable in some mobile devices
2 participants