[tesseract-ocr] Warning: Invalid resolution 0 dpi.

2021-12-10 Thread dzg
Is there any way to set a default resolution in the event of `Invalid resolution` ? I would like to `force --dpi 72` but only when no DPI detected. -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop rec

Re: [tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead.

2019-01-18 Thread Naomi
tesseract -v tesseract 4.0.0 leptonica-1.77.0 libgif 5.1.4 : libjpeg 9c : libpng 1.6.36 : libtiff 4.0.10 : zlib 1.2.11 : libwebp 1.0.1 : libopenjp2 2.3.0 Found AVX2 Found AVX Found SSE Can't provide the file publicly unfortunately but I can look into any specific metadata needed.

Re: [tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead.

2019-01-18 Thread Zdenko Podobny
please provide testing file + info anout tesseract version. Zdenko pi 18. 1. 2019 o 20:51 Naomi napísal(a): > I understand this question is asked a lot, but I'm getting > > Warning. Invalid resolution 0 dpi. Using 70 instead. > when I set --psm to 0. > > I used ImageMagick to convert the PDF t

[tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead.

2019-01-18 Thread Naomi
I understand this question is asked a lot, but I'm getting Warning. Invalid resolution 0 dpi. Using 70 instead. when I set --psm to 0. I used ImageMagick to convert the PDF to a tif, and as required, I did set the units and density: convert -density 300 -units PixelsPerCentimeter InputPdf.pdf

Re: [tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead

2018-02-27 Thread Terry Bryant
Ok, thanks, I've got the answer! On Wednesday, February 28, 2018 at 12:09:08 PM UTC+8, shree wrote: > > Which traineddata file are you using? > > I am using the ones from tessdata_fast. > > I will have to recheck the commands that I had used. > > Usually it will be on the lines of > > tesseract i

Re: [tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead

2018-02-27 Thread ShreeDevi Kumar
Which traineddata file are you using? I am using the ones from tessdata_fast. I will have to recheck the commands that I had used. Usually it will be on the lines of tesseract input.png outputbase --psm 6 --oem 1 -l langcode On 28-Feb-2018 9:03 AM, "Terry Bryant" wrote: > Could you please wr

Re: [tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead

2018-02-27 Thread Terry Bryant
Could you please write down the command text? Cause my command is like "tesseract 0a2d.png out -psm 7", still don't have the right answer... On Wednesday, February 28, 2018 at 10:30:27 AM UTC+8, shree wrote: > > try with --psm 6, 7 or 8, i get correct results with it > > 6Assume a single un

Re: [tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead

2018-02-27 Thread ShreeDevi Kumar
try with --psm 6, 7 or 8, i get correct results with it 6Assume a single uniform block of text. 7Treat the image as a single text line. 8Treat the image as a single word. ShreeDevi भजन - कीर्तन - आरती @ http://bhajans

Re: [tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead

2018-02-27 Thread Terry Bryant
Hi, it's "tesseract 4.00.00alpha leptonica-1.75.3 libjpeg 8d (libjpeg-turbo 1.3.0) : libpng 1.2.50 : libtiff 4.0.3 : zlib 1.2.8" On Wednesday, February 28, 2018 at 1:08:37 AM UTC+8, shree wrote: > > Which version of tesseract are you using? > > On 27-Feb-2018 7:52 PM, "Terry Bryant" > > wrote

Re: [tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead

2018-02-27 Thread ShreeDevi Kumar
Which version of tesseract are you using? On 27-Feb-2018 7:52 PM, "Terry Bryant" wrote: > Hello everyone. I'm facing this above problem when my input image is the > attached file. > > My os: ubuntu14.04 > My input image: in attached file(which is a .png file) > My command:

[tesseract-ocr] Warning. Invalid resolution 0 dpi. Using 70 instead

2018-02-27 Thread Terry Bryant
Hello everyone. I'm facing this above problem when my input image is the attached file. My os: ubuntu14.04 My input image: in attached file(which is a .png file) My command: tesseract 0a2d.png out My output:"Tesseract Open Source OCR Engine v4.00.00alpha with