tuwien / docscan Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Lesser General Public License v3.0
License: GNU Lesser General Public License v3.0
Is DocScan also available for iPhone?
See PR #42 for more details.
In case the 'Don't keep activities' setting is enabled in the developer options, DocumentViewerActivity
crashes in the following scenario:
CameraActivity
open PageSlideActivity
All images
DocumentViewerActivity
PageSlideActivity
.This opens the DocumentViewerActivity
where the following line leads to a RuntimeException:
If the exception is caught, the Activity is correctly opened.
Show the orientation how the image will be saved. Thus we can prevent that the user images a document that is flipped by 90, 180 or 270 degrees.
if AutoShoot mode is activated & the app asks for the permissions it crashes (after the user accepts the permissions)
When taking pictures in series mode DocScan sometimes wrongly recognises pages as already scanned, the problem can be "solved" by slightly moving the document/book but is still rather cumbersome especially when sitting in front of the ScanTent without seeing your phonescreen.
A second problem is, that sometimes pictures are taken although pages (or hands) are still moving, creating blurry images and often leading to problem number one.
Problem three happens rarely but sometimes, if a page is not turned fast enough a second picture of it is taken, basically meaning that the page was not recognised as already scanned.
Phone used: LG G2
Best wishes,
Robert
Currently a new document is created once an upload is resumed and all contained images are uploaded - regardless if they are already uploaded.
these entries should be logged while taking pictures:
... maybe add a share button (so alpha users can send back the logs)
@hollaus could you add the link please?
on class basis is missing for the jni
and C++
... 2nd and 3rd document polys could be drawn decently
crop images to the document polygon.
I guess the document poly's bounding box is fine -> then we do not run into aliasing issues
Switch to CameraX (for api level >= 21), once it is stable (currently it is in alpha stage.).
https://developer.android.com/training/camerax
Currently there is no option available for deleting empty documents.
On the Moto E and Samsung Galaxy Tab 10.1 the app crashes in the FocusMeasure.apply:
10-18 20:50:14.921 31078-31360/at.ac.tuwien.caa.docscan A/libc: invalid address or address of corrupt block 0xb92bc048 passed to dlfree
10-18 20:50:14.922 31078-31360/at.ac.tuwien.caa.docscan A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 31360 (Thread-4654)
Unfortunately, no more debug output is given in Android studio.
Currently the page detection coordinates are not updated, after cropping is applied.
Let the user control the resolution/compression of pdf pages in order to reduce the file size.
disable the display lock in the series mode
I was directed to this site by Readcoop.eu, who says that DocScan is the preferred app. Yet it doesn't appear in Google play on my device (Samsung S20 + 5G)
When installing the app, one gets a question: May we use your data to give you relevant ads. I said no, where to the app answered "thank you for letting us give you relevant ads"!
The export may run into unexpected states if it is interrupted or cancelled too early:
Currently the upload is just resumed if the upload is interrupted or the device is offline. The upload should be scheduled in such a way that we do not send too much server requests.
save binary images (e.g. Otsu) - this is useful for printed documents (2 MB jpg -> 200 KB png which does not even encode the image as binary : )
Process: at.ac.tuwien.caa.docscan, PID: 10261
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/at.ac.tuwien.caa.docscan-1/base.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_dependencies_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_0_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_1_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_2_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_3_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_4_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_5_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_6_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_7_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_8_apk.apk", zip file "/data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/at.ac.tuwien.caa.docscan-1/lib/arm, /data/app/at.ac.tuwien.caa.docscan-1/base.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_dependencies_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_0_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_1_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_2_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_3_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_4_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_5_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_6_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_7_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_8_apk.apk!/lib/armeabi-v7a, /data/app/at.ac.tuwien.caa.docscan-1/split_lib_slice_9_apk.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libdocscan-native.so"
We have followed all the steps that you mentioned in order to make it work and found one issue now i.e "Couldn't find "libdocscan-native.so", please check this and advise if we are missing anything in provided steps.
The page segmentation is not working correctly on the Moto E (540 x 960 pixels resolution) in portrait mode -> the entire image is marked as one large document.
A user has performed the migration of the data and sent us the logs, where we could see that the migration was started twice:
Within this task, the migration should be improved:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.