googlesamples / googlesamples/mlkit

[Bug report] Scanned document is roatated by 180°

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

Description

**Describe the bug**
In about 50-70% of the time, the document I scan is rotated by 180 degrees and I need to rotate it manually. It's a really bad UX.

**To Reproduce**
Example Steps to reproduce the behavior in the sample app:
1. Scan a document
2. Look at the result
3. It will be scanned upside down (If it's correctly showing. retry 2-3 times)

**Expected behavior**
The default rotation should be most of the time in the same way as the actual scanned document

**SDK Info:**
- com.google.android.gms:play-services-mlkit-document-scanner:16.0.0-beta1

**Smartphone:**
- Device - Pixel 7 Pro, Android API 34
- Device - Samsung A54 Android API 33

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.