SystemError: tile cannot extend outside image
I executed ocrfeeder from the command line, and I got an error. I tried with the most recent commit (ae8d4436, 2018-03-18 18:57:02), but still the same error. Unfortunately I cannot upload the image.
$ ocrfeeder-cli -i image.png -f TXT -e tesseract -l de -o output.txt
Traceback (most recent call last):
File "/home/tr/software/ocrfeeder/bin/ocrfeeder-cli", line 142, in <module>
resolution)
File "/home/tr/software/ocrfeeder/bin/../src/ocrfeeder/feeder/layoutAnalysis.py", line 495, in recognize
for bounds in block_bounds]
File "/home/tr/software/ocrfeeder/bin/../src/ocrfeeder/feeder/layoutAnalysis.py", line 504, in __recognizeImageFromBounds
text = self.readImage(clip)
File "/home/tr/software/ocrfeeder/bin/../src/ocrfeeder/feeder/layoutAnalysis.py", line 546, in readImage
self.ocr_engine.setImage(image)
File "/home/tr/software/ocrfeeder/bin/../src/ocrfeeder/feeder/ocrEngines.py", line 69, in setImage
image.save(image_file)
File "/home/tr/.local/lib/python2.7/site-packages/PIL/Image.py", line 1928, in save
save_handler(self, fp, filename)
File "/home/tr/.local/lib/python2.7/site-packages/PIL/TiffImagePlugin.py", line 1532, in _save
("raw", (0, 0)+im.size, offset, (rawmode, stride, 1))
File "/home/tr/.local/lib/python2.7/site-packages/PIL/ImageFile.py", line 503, in _save
e.setimage(im.im, b)
SystemError: tile cannot extend outside image