Check whether tesseract supports jpeg2000 or not

Author: polyzenCreated Mar 15, 2022Updated Dec 3, 2024
LabelsFeature Request

pytesseract.pytesseract.TesseractError: (1, 'Error in pixReadStreamJp2k: function not present Error in pixReadStream: jp2: no pix returned Error in pixRead: pix not read Error during processing.')

pytesseract 0.3.10 tesseract 5.1.0 pillow 9.0.1 openjpeg2 2.4.0 pytest 7.1.0 python 3.10.2

Old title: test_image_to_string_with_image_type[jpeg2000] failure with tesseract >4.1.x