trying to OCR a simple tif file with tesseract-ocr

NoOp glgxg at sbcglobal.net
Sat Mar 26 18:30:18 UTC 2011


On 03/26/2011 11:17 AM, NoOp wrote:
> On 03/26/2011 06:28 AM, Nicolae Ghimbovschi wrote:
>> It was a tif file, imageshack has converted it to png.
> 
> Copied the png, converted to .tif with Gimp. First try I'd forgotten to
> flatten & decompress:
> 
> $ tesseract ocrtest.tif testocr
> Tesseract Open Source OCR Engine
> check_legal_image_size:Error:Only 1,2,4,5,6,8 bpp are supported:32
> Segmentation fault
> 
> Flattened & decomressed:
> $ tesseract ocrtest2.tif testocr
> Tesseract Open Source OCR Engine
> $ ls *.txt
> testocr.txt
...
Sorry, forgot to add: Robert, if you'd like I can send you the
ocrtest2.tif file directrly so that you can use that for testing.

Gary






More information about the ubuntu-users mailing list