mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

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

Open bassmaster187 opened this issue 1 year ago • 2 comments

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

bassmaster187 avatar Jul 01 '24 10:07 bassmaster187

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.

mebjas avatar Jul 31 '24 04:07 mebjas

Hi @mebjas ,

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

bassmaster187 avatar Sep 19 '24 12:09 bassmaster187