Your rating: None Average: 4.8 (6 votes)


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:


Application versions: 
File sailfish-scanner-0.0.1-4.armv7hl.rpm7.07 MB11/04/2015 - 20:18
File sailfish-scanner-0.0.2-1.armv7hl.rpm7.07 MB16/04/2015 - 02:54
File sailfish-scanner-0.0.3-1.armv7hl.rpm8.83 MB22/04/2015 - 03:55
File sailfish-scanner-0.0.4-2.armv7hl.rpm8.84 MB27/04/2015 - 13:36
File sailfish-scanner-0.0.5-1.armv7hl.rpm8.85 MB29/04/2015 - 13:55
File sailfish-scanner-0.0.6-1.armv7hl.rpm8.86 MB01/07/2015 - 09:39
File sailfish-scanner-0.0.7-2.armv7hl.rpm8.86 MB13/07/2015 - 02:07
File sailfish-scanner-0.0.8-1.armv7hl.rpm8.86 MB20/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.


ziellos's picture

Does not seem to work anymore, Xperia X, Sailfish

objectifnul's picture

Wish list: allow flashlight.

backpackjoe's picture

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's picture

latest version 0.4-2 cannot start at all, I am running the latest version of OS i.e.

pagis's picture

it works fine now with latest (early) OS update!

Jordi's picture

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's picture

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's picture

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's picture

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's picture

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's picture

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 is guilty).