Invalid resolution 0, using 70dpi instead

83 views
Skip to first unread message

Mox Betex

unread,
Jun 28, 2019, 4:21:38 PM6/28/19
to tesseract-ocr
When I run tesseract on file F26_line-004.png I get message Invalid resolution 0, using 70 dpi instead.

Can someone explain me why?
F26_line-004.png

Shree Devi Kumar

unread,
Jun 29, 2019, 1:14:00 AM6/29/19
to tesser...@googlegroups.com

On Sat, Jun 29, 2019 at 1:51 AM Mox Betex <moxb...@gmail.com> wrote:
When I run tesseract on file F26_line-004.png I get message Invalid resolution 0, using 70 dpi instead.

Can someone explain me why?

--
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-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/fe1d44a4-11f9-47ef-889a-9927abd69c4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

Mox Betex

unread,
Jun 29, 2019, 8:56:26 AM6/29/19
to tesseract-ocr
I tried to solve this problem using exiftool to write Units:PixelsPerInch in png file because it was Units:Undefined, but I had no luck.

Zdenko Podobny

unread,
Jun 30, 2019, 9:04:58 AM6/30/19
to tesser...@googlegroups.com
Is there any reason why not to use tesseract --dpi option?

Zdenko

so 29. 6. 2019 o 14:56 Mox Betex <moxb...@gmail.com> napísal(a):
>
> I tried to solve this problem using exiftool to write Units:PixelsPerInch in png file because it was Units:Undefined, but I had no luck.
>
> --
> 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-oc...@googlegroups.com.
> To post to this group, send email to tesser...@googlegroups.com.
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/363fc182-2c07-48f3-aebf-504cbfb7a49d%40googlegroups.com.

Mox Betex

unread,
Jun 30, 2019, 3:15:21 PM6/30/19
to tesseract-ocr
I tried to use it, but it says dpi parameter not valid.
Give me example how to use it.

Besides, what to do when doing training, when you have tif lines in ground-truth that tesseract says 0 dpi, setting 70 dpi?



On Sunday, June 30, 2019 at 3:04:58 PM UTC+2, zdenop wrote:
Is there any reason why not to use tesseract --dpi option?

Zdenko

so 29. 6. 2019 o 14:56 Mox Betex <moxb...@gmail.com> napísal(a):
>
> I tried to solve this problem using exiftool to write Units:PixelsPerInch in png file because it was Units:Undefined, but I had no luck.
>
> --
> 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 tesser...@googlegroups.com.

Zdenko Podobny

unread,
Jun 30, 2019, 3:35:10 PM6/30/19
to tesser...@googlegroups.com
If you try something, please describe exactly what you did + provide other usefull information e.g. tesseract version.

Zdenko


ne 30. 6. 2019 o 21:15 Mox Betex <moxb...@gmail.com> napísal(a):
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.

To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
Reply all
Reply to author
Forward
0 new messages