allgood / OpenNoteScanner

Android application for scanning and manipulating handwritten notes and documents.
Other
1.37k stars 284 forks source link

Cannot make any useful scans #145

Open malnvenshorn opened 5 years ago

malnvenshorn commented 5 years ago

I'm using version 1.0.32 on a S5 Mini with Android 7.1.2 (LineageOS).

For me it seems not possible to get any useful result when scanning a document. All I'm getting can be seen on the attached picture. Am I doing something wrong?

My guess is that the auto focus is not working at all, but I haven't seen any possibility to do it manually.

photo_2018-12-12_11-56-50

allgood commented 5 years ago

Looks like S5 mini have an 8mp camera. I've only got useful results with cameras beyond 10mp. Maybe the image processing algorithm needs tweak to work on lower resolutions.

allgood commented 5 years ago

Focus can also be a problem, but when available app will only take the picture when it receives the "focused" event from the device, so, it can be a device specific problem.

malnvenshorn commented 5 years ago

I don't think this is device specific. Haven't noticed any issues with other apps using the camera with auto focus, e.g. normal camera apps or QR scanner.

Also I don't think this is caused by the low camera resolution. If I disable the image post processing the result is unreadable too.

I could do more testing if it were possible to focus manually in your app.

allgood commented 5 years ago

@malnvenshorn , looks like it s really a problem with the focus then. will try to find a way to put manual focus on the app.

malnvenshorn commented 5 years ago

That would be great thanks. Another option might be the possibility to pass already taken pictures to the app which only does the post processing then. (Just a thought)

allgood commented 5 years ago

Yes, this is on issue #20

zunami commented 5 years ago

I wouldn't say useful to that, but I have the same problem. It is exactly the same with me that the writing is not quite ok and legible.

normal white paper that is a bit used.

Can you not add a setting which quality you want. of course in connection with better quality more memory.

dbogdanov commented 5 years ago

I having a similar issue both with colour and b/w scans when Image Processor is on. Unfortunately, when it's off, the cropping is not applied, which makes this app unusable on my Google Pixel.

MaMaKow commented 5 years ago

Bump!

I am having the same issue.

kai-mad commented 5 years ago

My scans looked exactly like this, but looked a lot better with image enhancement turned off, this with a nokia 7+ The focus still leaves some to be desired though, but I can work around that.

allgood commented 5 years ago

Sorry, closed wrong issue on commit 0d82ad1 ... reopening

rmsa5 commented 5 years ago

Yup same here on one plus 6t. Just compare to Ms Office Lens for instance...

runningopenloop commented 4 years ago

Looks like the threshold for the image processing needs to be able to be adjusted. I just installed and took pictures and had similar issues... especially for notes in pencil. Turning off the image processing resulted in a clipped image which is not bad... looks like @dbogdanov has the issues with no clipping being applied to boot.

Perhaps after image is taken, a slider to adjust the threshold to get the right level? Or a menu option.