Bug#1027985: tesseract-ocr: document gets rotated on its side when converting from jpg to pdf

2023-01-05 Thread debbug . tesseract
Package: tesseract-ocr Version: 4.1.1-2.1 Severity: normal X-Debbugs-Cc: debbug.tesser...@sideload.33mail.com When tesseract is fed a JPG image of an upright document and instructed to produce a searchable PDF, it flips the image on its side. The rotation apparently happens before OCR is

Bug#1025856: tesseract-ocr: (regression) File descriptors no longer work for input (“Error in fopenReadStream: file not found”)

2022-12-10 Thread debbug . tesseract
Package: tesseract-ocr Version: 4.1.1-2.1 Severity: normal X-Debbugs-Cc: debbug.tesser...@sideload.33mail.com I have this line in an old shell script: $ tesseract <(convert "$jpgFile" +dither -colors 2 -normalize -resize 1 pbm:-) - -l eng Today that line fails with this output: