Introduction
Fotokopierer is a document scanning application for Sailfish OS and the Desktop.
Author
Frank Fischer frank-fischer@shadow-soft.de
planetos (Icons)
Åke Engelbrektson (Swedish translation)
Contact
Talk with the developers on #fotokopierer on libera.chat
License
Licensed under GNU GPLv3
Build
Fotokopierer needs the OpenCV 3.4.14, Podofo 0.9.7 and FreeType libraries. These libraries can be either used as shared libraries installed on your system or can be compiled and statically linked. In order to build Fotokopierer for the official Sailfish OS app store, you must statically link against these libraries.
In all cases you need CMake to build Fotokopierer.
Build with shared libraries in the Sailfish OS build engine
cd path/to/fotokopierer
path/to/SailfishOS/bin/sfdk -c target=SailfishOS-4.0.1.48-i486 build
In order to create
path/to/SailfishOS/bin/sfdk -c target=SailfishOS-4.0.1.48-i486 package
Note that the OS version and target might differ for you.
Build with static libraries in the Sailfish OS build engine
You need to download the sources of OpenCV, Podofo and FreeType (the CMake file will automatically download them):
- https://github.com/opencv/opencv/archive/3.4.14.zip
- http://sourceforge.net/projects/podofo/files/podofo/0.9.7/podofo-0.9.7.tar.gz/download
- https://download.savannah.gnu.org/releases/freetype/freetype-2.10.4.tar.gz
Extract both archives to the 3rdparty subdirectory.
cd path/to/fotokopierer
mkdir 3rdparty
cd 3rdparty
unzip path/to/opencv-3.4.14.zip
tar -xzf path/to/podofo-0.9.7.tar.gz
tar -xzf path/to/freetype-2.10.4.tar.gz
Finally, build the project as with shared libraries. The CMake build script will automatically compile all 3rd-party libraries
cd path/to/fotokopierer
path/to/SailfishOS/bin/sfdk -c target=SailfishOS-4.0.1.48-i486 build
Download sources
Latest development version: harbour-fotokopierer.tar.gz Latest release version: harbour-fotokopierer-0.3.0.tar.gz
Help with translations
Translate to another language at POEditor
Credits
This project uses
- Conversion between Qt and OpenCV images by Andy Maloney
- OpenCV for image processing
- Podofo for PDF-handling
- FreeType for font rendering in PDF files