PDA

View Full Version : Photo of document --> PDF



hambone79
September 13th, 2010, 04:33 AM
I have a handy app on my phone called DocScanner that lets me take a photo of a document (such as a receipt, business card, etc.) and convert it to a PDF file. The best part is that it will detect the edges of the document I'm scanning, then crop and adjust the skew. The result is a very nice and usable PDF but it has one drawback...it can't handle engineering drawings because the resolution of my camera isn't high enough.

I know that I can use GIMP and the crop/skew tools to do the same thing with a photo taken with my high res digital camera, but I wanted to see if there is something out there that could help me automate the process like DocScanner does.

Any ideas?

hambone79
September 13th, 2010, 04:53 AM
Looks like I have one candidate:

http://scantailor.sourceforge.net/?q=en

v1ad
September 13th, 2010, 05:23 AM
except now how to compile it ..

HermanAB
September 13th, 2010, 06:15 AM
./configure
make
sudo make install

doesn't work?

v1ad
September 13th, 2010, 06:17 AM
nope, we got the source code done in c++, with no make, or configure file.

doorknob60
September 13th, 2010, 06:22 AM
It uses cmake, that's why there's no configure script or makefile. http://sourceforge.net/apps/mediawiki/scantailor/index.php?title=Building_from_source_code_on_Linux _and_Mac_OS_X

v1ad
September 13th, 2010, 06:36 AM
ah that explains it tx. ill see how it goes.

v1ad
September 13th, 2010, 06:56 AM
such a pain, i installed more required libraries that the whole program has files itself.

required libraries.
and u need to install cmake
libboost1.40-dev
libtiff4-dev
libqt4-dev

then run scantailor in console to start, or add it manually in the menu...