a tool to crop an Image(or camera photo) of a text page.
Written entirely in qml/pyOtherside, it uses wheeled python libraries(numpy,pillow) for the imaging part. It's not as pretty as it could be, but functional ;-)
Source code is up on hub.darcs
Contributions are very Welcome. Possibly this could become a more sophisticated imaging app for Sailfish/Jolla
I used this template to build the app instead of the SailfishOS-IDE:
Attachment | Size | Date |
---|---|---|
sailfish-scanner-0.0.1-4.armv7hl.rpm | 7.07 MB | 11/04/2015 - 20:18 |
sailfish-scanner-0.0.2-1.armv7hl.rpm | 7.07 MB | 16/04/2015 - 02:54 |
sailfish-scanner-0.0.3-1.armv7hl.rpm | 8.83 MB | 22/04/2015 - 03:55 |
sailfish-scanner-0.0.4-2.armv7hl.rpm | 8.84 MB | 27/04/2015 - 13:36 |
sailfish-scanner-0.0.5-1.armv7hl.rpm | 8.85 MB | 29/04/2015 - 13:55 |
sailfish-scanner-0.0.6-1.armv7hl.rpm | 8.86 MB | 01/07/2015 - 09:39 |
sailfish-scanner-0.0.7-2.armv7hl.rpm | 8.86 MB | 13/07/2015 - 02:07 |
sailfish-scanner-0.0.8-1.armv7hl.rpm | 8.86 MB | 20/10/2015 - 12:17 |
- added the possibility to export single pages from a multipage PDF. Only PDF
or JPG is available, since the images are stored as JPG internally.
- added Pinch-to-Zoom to inspect results.
Comments
ziellos
Thu, 2019/01/03 - 11:38
Permalink
Does not seem to work anymore, Xperia X, Sailfish 3.0.0.8.
objectifnul
Sun, 2015/07/05 - 23:06
Permalink
Wish list: allow flashlight.
backpackjoe
Tue, 2015/07/07 - 12:20
Permalink
I am gonna look into it. Is there a way to integrate apps with the jolla-camera app like in android. I haven't seen anyone do this, but it would be preferable since there are a lot of camera features someone could miss.
pagis
Tue, 2015/04/28 - 10:31
Permalink
latest version 0.4-2 cannot start at all, I am running the latest version of OS i.e. 1.1.4.28
pagis
Tue, 2015/04/28 - 12:53
Permalink
it works fine now with latest (early) OS update 1.1.4.29!
Jordi
Tue, 2015/04/21 - 08:09
Permalink
Works pretty well!
Eagerly waiting for PDF support ...
And later, the ability to improve text readability by increasing contrast for ex.!
Thanks for this app.
objectifnul
Sat, 2015/04/11 - 20:57
Permalink
version 0.0.1-3: working but doesn't save edited image. Unedited images found in /opt/alien/tmp/sailfish-scanner/ and in /tmp/sailfish-scanner/ (both are actually the same image). Image name (scannerimage.jpg) unchanged. Apparently, existing unedited image is replaced with the new one. I suggest the unedited temp image name would contain a time stamp, plus an option to clean temp files.
EDIT: uninstalled, re-installed. Now edited images are saved. However, occasionally the picture is turned upside down (randomly?) when switching between portrait and landscape. Also, the red handles are sometimes difficult to catch when too close to the edge of the display. Maybe a zoom/magnifier function (long tap) could help.
objectifnul
Sat, 2015/04/11 - 18:46
Permalink
Same behaviour with version 0.0.1-2. Are you sure you didn't push the same one again? (note: I uninstalled previous version and erased usr/share/sailfish-scanner/*.* before installing 0.0.1-2)
backpackjoe
Sat, 2015/04/11 - 19:02
Permalink
not erasing "usr/share/sailfish-scanner/" was what kept it working on my phone even tho it shouldnt. Iteration 3 should erase "usr/share/sailfish-scanner/" upon uninstalling and fix my misplaced python libraries.
backpackjoe
Sat, 2015/04/11 - 17:03
Permalink
Sorry about that.
I managed to push a version that didnt run if not launched from command line.
This one should work and be rather straitforward to use:
-select or shoot a photo
-adjust the red dots and the rectagle to fit your object
-press "right arrow", and you should see the result
-save using the pushUpMenu
objectifnul
Sat, 2015/04/11 - 16:53
Permalink
No help file? Couldn't figure out how to use this. What is the (unresponsive) red dot in the middle of the screen? Couldn't find the result of the saved "xxx.edit" files. No visible/active edit function. (Maybe my unreleased SailfishOS 1.1.4.24 is guilty).