Skip Menu |

This queue is for tickets about the Image-OCR-Tesseract CPAN distribution.

Report information
The Basics
Id: 130376
Status: new
Priority: 0/
Queue: Image-OCR-Tesseract

People
Owner: Nobody in particular
Requestors: shields.nikolai [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.24
Fixed in: (no value)



Subject: Fix for test failures.
The reason for the test failures is the convert is incorrect. You're generating these errors under the hood, Show quoted text
> Error in pixReadFromTiffStream: spp not in set {1,3}
And you're silently failing because of that. These errors are generated because convert is generating tif files that Tesseract's Leptonica library can not read, Just change your @arg internally to this, and all the tests will pass. my @arg = ( $WHICH_CONVERT, , $abs_img, , qw/-density 300/, , qw/-compress none/, , qw/-depth 8/, , qw/-background white/, , qw/-alpha Off/, , $abs_out );