jhansireddy / AndroidScannerDemo

ScanLibrary is an android document scanning library built on top of OpenCV, using the app you will be able to select the exact edges and crop the document accordingly from the selected 4 edges and change the perspective transformation of the cropped image.
MIT License
1.07k stars 472 forks source link

Need reworking on code, poor image quality on output and missing source code #152

Open fpiraneo opened 3 years ago

fpiraneo commented 3 years ago

This library is potentially cool but now quite outdated and need a reworking on many parts; many parts of code use deprecated functions; has issues when running on new Android versions due to permissions; the maximum image resolution on output is always 1024 x 768 and cannot be increased. Finally the sources of two libraries that are provided pre-compiled are missing; why? I think that the issues are there!

To all people: PLEASE help me to find a replacement solution or the sources of the precompiled libraries. Thanks!

pradeep-orbi commented 3 years ago

I'm using the following library and it is working for me. AndroidDocumentScanner

pradeep-orbi commented 3 years ago

Only issue that i'm facing with https://github.com/mayuce/AndroidDocumentScanner library is app size increases by 30 MB. Is it the same 30 MB app size increase with the library you are using ?

fpiraneo commented 3 years ago

Talking about only the pre-compiled opencv and (I think) the image processing libraries that jansireddy provide pre-compiled, for all platform the folder last about 74Mb that must be uploaded on the Android Store. Then I have all my application.

Taking a look at the mayuce lib you suggested me, we have the strong value that is 100% open with no pre-compiled parts and the full arm64 compiled version is just 11.2Mb!