Check out ImageMagick, an open source image toolset. Specifically the
'convert' tool, look for commandline usage and application
parameters/arguments, where you will find several ways to resize/rescale
the image.
Also useful to ”tweak” the image as part of your ocr preprocessing pipeline
before your image reaches tesseract.

Another big one would be OpenCV, but that would require you to write
programs (python software or similar) while ImageMagick can accomplish a
lot of what you want or might need and can be driven by some simple batch /
Powershell / shell lines: much easier to get success that way if you're not
already comfortable with coding software.

https://legacy.imagemagick.org/Usage/resize/
May appear overwhelming at first; read and try the various ways mentioned
there to get a grasp and discover what you need to do for your scenario
specifically. Ocr is not a simple process pipeline, so take your time with
it.


On Thu, 20 Jul 2023, 15:03 nor s, <njsgas...@gmail.com> wrote:

> I'm trying to run tesseract-OCR on images that come to me at 72 DPI . The
> program is unable to decode these images and requires a 200 dpi  or better
> scale to be successful. Is there a program available, similar to
> tesseract-OCR, that would read a command line and convert an 72 dpi image
> to 200 dpi or some other specified value and save it in a specified
> location.  I'm running windows 10.
> I can make these change in Photoshop but  I'm trying to automate the
> process since I have a lot of image to scan.
>
> Any suggestion would be greatly appreciated.
>
> Thanks
>  Nor
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tesseract-ocr+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/b6075062-921e-4da9-acdf-b0364dc3c960n%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/b6075062-921e-4da9-acdf-b0364dc3c960n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAFP60frm0CYyZnKuVpuYHmLh9j_6XjBx%3DMYZ5i8B%3DO1zsRK8pA%40mail.gmail.com.

Reply via email to