Decapod Ubuntu Packages
jqUnit
To run jqunit tests in Firefox, you must do the following:
- Type "about:config" in your Firefox address bar
- Find "security.fileuri.strict_origin_policy"
- Set "security.fileuri.strict_origin_policy" to false by double-clicking
Packages
The following are generally useful, and some things rely on them:
scipy matplotlib gnome-do opencv python-opencv valgrind python-gnome glade-gnome-3 mercurial scons emacs22 hardinfo hwinfo gphoto2 libgphoto2-2-dev subversion cvs python-tk swig checkinstall python-cherrypy3 python-numpy python-reportlab python-imaging
If using Ubuntu 9.04, do the following to install the above packages:
sudo apt-get install python-scipy python-matplotlib gnome-do python-opencv valgrind python-gnome2 glade-gnome-3 \ mercurial scons emacs22 hardinfo hwinfo gphoto2 libgphoto2-2-dev subversion cvs python-tk swig checkinstall \ python-cherrypy3 python-numpy python-imaging
For installing development version of Ocropus, visit: http://code.google.com/p/ocropus/wiki/InstallTranscript
Note, that if running 64-bit Ubuntu you may get an error when compiling openfst. See this bug for more information
.
For installing iulib/ocropus 0.3 (old version):
hg clone https://iulib.googlecode.com/hg/ iulib sudo sh ./ubuntu-packages scons sudo checkinstall --pkgversion=0.3-HEAD scons install hg clone https://ocropus.googlecode.com/hg/ ocropus sudo sh ./ubuntu-packages scons sudo checkinstall --pkgversion=0.3-HEAD scons install sudo ldconfig (necessary to update environment to use new iulib/ocropus libraries)
Subversion version of gphoto2:
svn co https://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/libgphoto2 libgphoto2 cd libgphoto2 autoreconf -is ./configure make sudo make install svn co https://gphoto.svn.sourceforge.net/svnroot/gphoto/trunk/gphoto2 gphoto2 cd gphoto2 autoreconf -is ./configure make sudo make install
Python Command for TIFF to PDF Conversion
python runPipeline.py -t 2 -b ./input.tiff -d temp -p ./output.pdf
-t 1 : image and no text.
-t 2 : tokenization with OCR and images.
-t 3 : tokenization with OCR, images, and tokens output as images.