ossappscollective / ossappscollective/OSS-DocumentScanner

[BUG] OCR Text is not aligned in PDF / Text Position Misaligned

Open
#707 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
2.4k
Forks
121
Avg merge
1d 58m
Merged PRs (30d)
17

Description

Which app is your issue for

Document Scanner

Version

Running latest Version from F-Droid. Every Scan has misaligned Characters. Document is searchable, but whenever one tries to select text in the generated PDF, it does not work as expected.
FairScan from F-Droid seems to work just perfect for with proper "Text Position".

The issue seems to bei relatively easy yo fix, since there is a Preview Button beforehand. Processing must include a function to align OCR with the actual document.

What platform are you using?

Android

OS Version

Android 16

What happened?

A bug happened!

Relevant log output

Code of Conduct
  • I agree to follow this project's Code of Conduct

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Android 16 by creating a searchable PDF and testing text selection against the scanned document. Trace the OCR-to-PDF text-position handling and compare the generated placement with the preview and the reported FairScan behavior. Done means text selection aligns with the visible document content across representative scans.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp, opencv
Domain
computer-vision, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.