Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
borderfalse
Column
width65%

Requirements

To install Decapod 0.67, you will need to satisfy the following requirements:

Required:

  • Ubuntu 12.04 (32 bit or 64-bit)
  • Firefox 12 17 or later
  • Decapod application (including OCRopus and Fluid Infusion elements)and all its dependencies

Recommended:

Installation Procedure

Note

You will need Mercurial to access the Decapod code repository. You can install Mercurial by running sudo apt-get install mercurial

If you are using Mercurial v1.7.4+ you may need to set the hostfingerprints.

For instructions and an example of setting the fingerprint, please refer to this: Setting Host Fingerprints for Mercurial.

In a terminal, run the following:

Code Block
hg clone https://decapod.googlecode.com/hg/ -r decapod-0.67 decapod-0.67
cd decapod-0.67/install-scripts/
sudo ./decapod-all.sh

The above commands will retrieve the 0.6 7 release of the Decapod source code.

Note: the Decapod 0.6 7 tag may not appear in the cloned source (see: http://mercurial.selenic.com/wiki/Tag)

To Run Decapod for the First Time

Assuming your current directory is ./decapod-0.67/, enter the following commands in a terminal to run the different Decapod components:

Code Block

cd decapod-server/
python ./decapod.py

Once the server is running, open a web browser sessions using the following URL:

Component Name

Command Line

Default HTTP address

Calibration

python ./dewarp/dewarpServer.py

http://localhost:8080/

Capture

python ./capture/captureServer.py

http://localhost:8081/

Dewarp

python ./dewarp/dewarpServer.py

http://localhost:8082/

Conversion

python ./export/exportServer.py

http://localhost:
8080

Troubleshooting

"<Some file> not found." Error
Try running through the installation steps again as shown above.

"./library/book/images... Permission denied" Error when running Decapod 0.6 server
You may need to change the permissions on the decapod-server/book directory. Alternatively, you can try running Decapod using sudo python ./decapod.py

Note

If you start the server using sudo, you will always have to run it with sudo, as the permissions of the created directories will be restricted by it.

Column
width35%
Panel
borderColor#CCCCCC
titleOn this Page
borderStylesolid
Table of Contents
maxLevel2
indent20px
styledisc
Panel
borderColor#CCCCCC
titleSee Also
borderStylesolid