[Bug] Unstable edge detection causes distorted and skewed scans on Pixel 10 Pro (Android 17)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- android, opencv
- Domain
- computer-vision, mobile
Research direction
Start by locating the camera preview’s edge detection and document corner detection entry points, then reproduce with a white or light-grey document on a black surface on the reported Pixel device. Compare the detected boundary with the document edges across the lighting and torch conditions in the report. Done means the boundary stays aligned with all four corners and the captured scan is rectangular and undistorted.
Written by the indexing model from the issue text.
Description
Which app is your issue for
Document Scanner
Version
1.26.0.163
What platform are you using?
Android
OS Version
Android 17 (Build: DP11.260918.006)
What happened?
Describe the bug
The automatic edge detection (blue overlay polygon) fluctuates erratically and fails to reliably lock onto document borders, causing distorted, skewed, and incorrectly cropped output scans.
This behavior occurs consistently with both bright white and off-white/light-grey documents placed on a solid black background. Testing confirmed that the issue persists regardless of lighting conditions (tested with ambient room lighting, without ambient lighting, and with the built-in camera flash/torch enabled).
To Reproduce
- Open OSS Document Scanner.
- Place a white or off-white/light-grey document on a solid black surface.
- Aim the camera at the document (tested both with/without ambient light and with/without camera torch).
- Observe the blue detection boundary jittering and failing to align with the actual edges.
- Capture the scan.
- Observe the resulting output image being skewed and improperly cropped.
Expected behavior
Given the high contrast between the document and the black surface, edge detection should reliably lock onto all four corners and produce an undistorted, rectangular scan.
Environment
- Device: Google Pixel 10 Pro
- Package / Architecture:
app-arm64-v8a-release.apk
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
- Dominant language
- C++
- Stars
- 2.7k
- Forks
- 153
- Avg merge
- 9h 34m
- Merged PRs (30d)
- 123
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ossappscollective/OSS-DocumentScanner
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ossappscollective/OSS-DocumentScanner#739 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ossappscollective/OSS-DocumentScanner#891 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG] Disabling JPEG Compression doesn't actually disable it and exported PDFs still get compressedOpenbug done
Difficulty 3/5 1-2 days Newbie friendliness 48/100
ossappscollective/OSS-DocumentScanner#882 ·
Maintainers usually reply within 1 day
-
android enhancement ios wallet
Difficulty 5/5 Over a week Newbie friendliness 35/100
ossappscollective/OSS-DocumentScanner#865 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 52/100
ossappscollective/OSS-DocumentScanner#864 ·
Maintainers usually reply within 1 day
All issues in ossappscollective/OSS-DocumentScanner
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
patrick-hudson/put.gd-desktop#2044 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
uxlfoundation/oneDNN#6604 · 1 comment ·
Maintainers usually reply within 2 days
-
[Bug]: RoundToNearest truncates in plugins compiled with spcomp 1.13Possibly taken @fmu1337 claimed this today. OpenBug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
alliedmodders/sourcemod#2627 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
lballabio/QuantLib#3134 · 1 comment ·
Maintainers usually reply within 3 days