manisandro / gImageReader

A Gtk/Qt front-end to tesseract-ocr.
GNU General Public License v3.0
1.6k stars 188 forks source link

Empty OCR result when trying to make more than one scan on image #586

Closed AKmatiAK closed 1 year ago

AKmatiAK commented 2 years ago

When I scan one selection it goes well, but when I try to scan second column it just doesn't work - progress bar for a while shows 0%, then disappear and there's no result. When I scan by right-click on selection there is only image path in result. Log file is empty.

manisandro commented 2 years ago

You'll need to provide more info, ideally a screen recording.

AKmatiAK commented 2 years ago

Happens only at dpi different than 100, also, when I change dpi to other than 100 contrast and brightness adjustments doesn't work edit: I use 600 dpi, but other dpi settings seem to behave same way

AKmatiAK commented 2 years ago

PNG image, Windows 10 x64, Polish language, 270deg image rotation, plain text ocr, 600% scale, brightness and contrast - 0

manisandro commented 2 years ago

Probably the 600% upscaled image ends up hitting some image size constraint.