googlesamples / googlesamples/mlkit

[Document Scanner bug] Low document resolution on some Samsung devices (including A32)

Open
#922 8 comments 0 reactions 1 assignee Assigned to @avivadla8 View on GitHub
Dominant language
Kotlin
Stars
4.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Taken document photo is in really low resolution (i.e. 976x1346) instead of something like (3000x4000) for some phones.
This is happens probably because of the bug in CameraX library used by Document Scanner:
https://issuetracker.google.com/issues/162121234?pli=1

Assuming this is it, a library dependency update should do the trick.

**To Reproduce**
Acquire a document using Document scanner.

**Expected behavior**
Document resolution should be way higher, something like 3000x4000.

**SDK Info:**
- SDK ML Document Scanner 16.0.0-beta1

**Smartphone:**
- Device/Simulator: Samsung A32

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.