ossappscollective / ossappscollective/OSS-DocumentScanner
[FEATURE REQUEST] Algorithm: White Background & enhanced text
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.4k
- Forks
- 121
- Avg merge
- 1d 58m
- Merged PRs (30d)
- 17
Description
Is your feature request related to a problem? Please describe.
The main reason to use a document scanner app for me are 2 things:
- dewarp the picture to get the document straight on the image
- edit the picture so it looks like a scan and not a picture
OSS document scanner does the 1) but not the 2)
There are some default filters to choose from, but they do not automatically detect white and do the whitebalance while keeping the text black and enhanced for readability.
This currently is the main reason people stay on notebloc.
Describe the solution you'd like
I suggest either an advanced option for custom controls that i can save or an automated solution, that takes the white of my image and shifts the colors until it is true white, then does the same with my black font.
Searching for automatic whitebalance algorithm shows a score of suggestions.
For text recognition: https://dsp.stackexchange.com/questions/95615/what-are-good-algorithms-to-smooth-scanned-text
But i am happy to help with research, mock code or alike.
Describe alternatives you've considered
The current alternative is using proprietary apps like notebloc or taking the images to the gallery and do the color correction there and then import them into The ODS
Additional context
An upgrade to the algorithm would make the ODS perfect and much more downloaded
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
The issue names no files, tests, or entry points; start by locating the existing document-filter and image-processing pipeline, then review the linked text-smoothing research. Done means a defined, tested approach automatically whitens the page while preserving and enhancing dark text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, opencv
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100