Hi all,
I have created a mutlipage TIFFfile using linux libtiff-tools 'tiffcp'
command from two TIFF G4 images 'a.tif' and 'b.tif' (see info below).
I succeeded to create the 'multipage.box' file without warnings but
failed at creating the multipage.tr file from it.

$ tiffcp a.tif b.tif multipage.tif
$ tesseract multipage.tif multipage batch.nochop makebox
$ mv multipage.txt multipage.box
$ tesseract multipage.tif junk nobatch box.train
tesseract: unicharset.cpp:105: const char* const
UNICHARSET::id_to_unichar(UNICHAR_ID) const: Assertion `id < this-
>size()' failed.
Aborted

Can someone help me ?

cheers

----------------- Begin tiffinfo a.tiff--------------------------->
TIFF Directory at offset 0x8 (8)
 Image Width: 937 Image Length: 126
 Resolution: 200, 200 pixels/inch
 Bits/Sample: 8
 Compression Scheme: LZW
 Photometric Interpretation: RGB color
 Samples/Pixel: 3
 Rows/Strip: 2
 Planar Configuration: single image plane
 Software: LIBFORMAT (c) Pierre-e Gougelet
 Predictor: none 1 (0x1)
----------------- End tiffinfo a.tiff--------------------------->

----------------- Begin tiffinfo b.tiff--------------------------->
TIFF Directory at offset 0x8 (8)
 Image Width: 937 Image Length: 126
 Resolution: 200, 200 pixels/inch
 Bits/Sample: 8
 Compression Scheme: LZW
 Photometric Interpretation: RGB color
 Samples/Pixel: 3
 Rows/Strip: 2
 Planar Configuration: single image plane
 Software: LIBFORMAT (c) Pierre-e Gougelet
 Predictor: none 1 (0x1)
----------------- End tiffinfo b.tiff--------------------------->

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tesseract-ocr?hl=en.

Reply via email to