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

Add Actual Camera Resolution Property #121

Open
direkrain opened this issue Jun 28, 2022 · 0 comments
Open

Add Actual Camera Resolution Property #121

direkrain opened this issue Jun 28, 2022 · 0 comments

Comments

@direkrain
Copy link

I'm trying to implement a scan window where the app must ignore QR codes not inside it.
I was able to map them in the screen coordinates using the pre-defined resolution values.
The problem is, when you specify the camera resolution, it will use the nearest supported resolution which makes the app behavior very unpredictable.

The workaround I did is to load the image returned just to get the width and the height. It is close, but not perfect. Plus, it added more unnecessary processes and memory allocation.

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

1 participant