Just quick replay (I did not test it :-) ): - tiff is"container of images" and AFAIK each image can have its own resolution (DPI is just information for correct printing/displaying of image) - tesseract should read multi-page tiff image-by-image and process it individually (including DPI information)
=> If each page/image in multi-page tiff have DPI info, tesseract should process it correctly I am not sure how "--dpi" option would work in this case - IMO multi-page tiff scenario was not considered. Zdenko št 5. 3. 2020 o 18:41 Alec McLean <[email protected]> napísal(a): > If you have a multipage tif file is it possible that each page has a > different DPI? If so, is there a way to extract the DPI values and then > supply those as parameters for each page when you need to OCR images then > produce an hOCR? > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/a2adad49-6207-4a30-b73f-c9c2ecf18ffc%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/a2adad49-6207-4a30-b73f-c9c2ecf18ffc%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xxWUnHifw2pm7-Go%3D%2BDNf96tZK7xzOEfkLKwRkNHNi4w%40mail.gmail.com.

