apsexton / bateman-ocr

Tools and experiments in the OCR of the Bateman Manuscripts
ISC License
0 stars 5 forks source link

Add TIFF image file reading ability to the GTE project #6

Open apsexton opened 8 years ago

apsexton commented 8 years ago

This project needs to be able to read TIFF image (.tif) files.

The current code already searches through the image reading libraries it has available and selects an appropriate one for the file it is trying to read if it there (see utils.ImageFile.ImageFile(File f)).

Therefore adding TIFF image reading ability does not require any code changes to the program, but merely adding the necessary libraries. Without the libraries the program can read .png files (and a few other image file types) but will report an error if it is asked to read a .tif file (e.g. the sample.tif in the data folder). With the library reading sample.tif will work.

See the READMEs in data and lib for more details.

kevinshen100 commented 8 years ago

I have completed this and imported the JAI ImageIO tools.