croplib.cpp | Crop p*m images. |
croplib.h | Header for croplib.cpp. |
croplib.i | Interface between C++ and Python for croplib. |
dist.py | Compute the edit distance (Levenshtein distance) between two strings. |
example-crop.py | Shows how to use croplib. Crops an image. |
example-featextract.py | Shows how to use featlib. Computes a simple feature vector containing one value: the fraction of dark pixels. |
example-wordcrop.py | Shows how you can crop words using a .words file. Crops one random word from an image. |
featlib.cpp | Example feature extraction code: computes the fraction of dark pixels. |
featlib.h | Header for featlib.cpp |
featlib.i | Interface between C++ and Python for featlib. |
lxj-coding.table | Table with lxj-encoding for text characters. |
lxj-convert.py | Uses lxj-coding.table to convert text to lxj encoding. |
Makefile | Description how 'make' should compile the code. |
pamImage.cpp | Read and write .pbm/.pgm/.ppm files (color, grayscale, black/white respectively). |
pamImage.h | Header for pamImage.cpp; look here to see what you can do with a PamImage object. |
pamImage.i | Interface between C++ and Python for pamImage. |
wordio.py | Reads and writes .words files. |
word.py | Object for word zones and transcription. |
lxj-convert.py | Converts strings to lxj encoding. |
The .i files define an interface between C++ and Python. Swig uses them to create a Python wrapper around the C++ code.
Last modified: 29 April 2008, afternoon.