You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after installing it, I tried the example and I got this:
Error in pixReadStream: Unknown format: no pix returned
Error in pixRead: pix not read
Error in pixGetSpp: pix not defined
Error in pixGetDimensions: pix not defined
Error in pixGetColormap: pix not defined
Error in pixCopy: pixs not defined
Error in pixGetDepth: pix not defined
Error in pixGetWpl: pix not defined
Error in pixGetYRes: pix not defined
Please call SetImage before attempting recognition.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string: construction from null is not valid
The text was updated successfully, but these errors were encountered:
try identifying the image before feeding it to the software using the ImageMagick tool "identify" or GIMP/Photoshop . It must be a valid image (jpg png tiff or gif) <--- Image formats that the leptonica library was compiled with
identify ../misc/input/receipt_2.jpg
the following will be written to output
identify: Not a JPEG file: starts with 0x76 0x65 `../misc/input/receipt_2.jpg' @ error/jpeg.c/JPEGErrorHandler/348.
It is therefore clear that the example images have somehow experienced a regression and are no longer useable. At least in my machine configuration . I get The exact same errors as you when running the unit tests or the software on its own.
Using another image that i made myself shows that the software processes the image without the errors above (albeit with other types of errors that are irrelevant in this context)
after installing it, I tried the example and I got this:
The text was updated successfully, but these errors were encountered: