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

Preview of Document scanner is on some devices in landscape and result in poor quality #840

Open
bassmaster187 opened this issue Jul 1, 2024 · 2 comments
Assignees

Comments

@bassmaster187
Copy link

Describe the bug
On some devices the preview is in landscape (eg. Samsung Active Tab 3). So most of the sensor area is cropped and result in poor quality.

To Reproduce
Use a Samsung Galaxy Active Tab 2 or 3. Maybe with many other devices possible?

image

Expected behavior
Force a portrait preview and use the whole sensor area of the camera.
Provide an option to use a specific preview size, so we can find the best preview size for specific devices.

SDK Info:
play-services-mlkit-document-scanner = { module = "com.google.android.gms:play-services-mlkit-document-scanner", version.ref = "16.0.0-beta1"}

Smartphone:
Samsung Galaxy Tab Active 3 (SM-T575) - Android 11
Samsung Galaxy Tab Active 2 (SM-T395) - Android 9

@mebjas
Copy link
Collaborator

mebjas commented Jul 31, 2024

Thanks for filing the bug, this is a known issue and is being triaged by the team along with other high priority fixes.

Will update this ticket once there is a fix.

@bassmaster187
Copy link
Author

Hi @mebjas ,

could you please provide an estimate of when a bugfix can be expected?

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

2 participants