Akylas / OSS-DocumentScanner

Android document document scanning app
https://www.akylas.fr
MIT License
599 stars 22 forks source link

[FEATURE REQUEST] A Time-based Auto Scan #203

Open 0lm opened 1 month ago

0lm commented 1 month ago

Is your feature request related to a problem? Please describe. Current Auto-Scan mode depends on page/document detection. Auto-Scanning won't work when the page's colour is the same colour as the background (like, when a book is on a table, and both page and book are i.e. purely sepia coloured.)

Describe the solution you'd like An alternative auto-scan solely based on a timer could help alot, without needing to depend on document detection. Like.. "scan every X sec" for example. (would be the best to make the timing configurable)

Describe alternatives you've considered

Additional context

farfromrefug commented 1 month ago

@0lm thanks for the request. May just i ask why clicking on the capture button is not enough in this case?

0lm commented 1 month ago

@0lm thanks for the request. May just i ask why clicking on the capture button is not enough in this case?

Sorry for the late answer.

It would be easier to just set a timer, to make it take a photo every XY seconds (batch mode), if you are going to scan multiple pages at once (example: 30 pages of a book. Especially to decrease the carry weight of books for students. This way, relevant pages can be digitalized quickly.). With many pages at once, it can be a real hassle to click on the capture button every time. And the current available Auto Scan is basically a method to do it automatically without clicking the capture button, right? So that feature already exists to make things faster and easier.

The already available Auto-Scan feature is okay, but it struggles with page detection when book pages and background have the same colour. So, being able to just set a fix timer without detection would be a good alternative. Until bugs and inconveniences of the Detecting Auto Scan can be fixed, having a safe and always working alternative to it would be good, I think. I don't intend to say, that a timer should replace the current Auto Scan. But in some cases, where Auto Scan causes more struggles than benefits, the alternative would be awesome.

farfromrefug commented 1 month ago

@0lm i see. Makes sense i can think about this. It would only be available in batch mode i suppose. Would you want document detection still to be applied, or should i just use the full image without trying to detect any page?

Also could you share some image example so that i can see if i can improve the page detection for books? maybe even support scanning both left and right page at the same time

0lm commented 1 month ago

@0lm i see. Makes sense i can think about this. It would only be available in batch mode i suppose. Would you want document detection still to be applied, or should i just use the full image without trying to detect any page?

Also could you share some image example so that i can see if i can improve the page detection for books? maybe even support scanning both left and right page at the same time

Not sure if Document Detection is wanted by you or the community in combination with this feature. At least for me, I don't need it. But if you decide to add it, I would wish for it to be turn-off-able manually.

Unfortunately I am not able to provide an example. But generally, this happens with documents having nearly the same colour as the background (usualy a desk/table) they are on. The chance is very high to encounter those inconveniences, espeically with (light-)beige coloured background in a room with warm light.

Sounds a bit awkward, but just put an opened book on a bed. Usually most standard mattress protectors are beige/white enough to fullfil the requirements.

And just btw: Is Autoscan supposed to work without Document Detection&crop feature? Because it doesn't (anymore). If I remember right, it worked a few updates agao, but now it is not auto scanning wihout document detection being enabled.