I forgot to mentione that I use Centos 7.
I tried that command : tesseract img.jpg out

As result I got a message like:

Estimating resolution as 181
Error in boxClipToRectangle: box outside rectangle
Error in pixScanForForeground: invalide box

On Saturday, November 25, 2023 at 10:31:49 AM UTC zdenop wrote:

> Does tesseract (executable) has the same problem?
> If yes, that check the content of /usr/share/tesseract-ocr/4/tessdata/
> If not follow code of tesseract executable.
>
>
> Zdenko
>
>
> so 25. 11. 2023 o 11:07 'sanogo sy' via tesseract-ocr <
> tesser...@googlegroups.com> napísal(a):
>
>> Hi every one. I got an error with tesseract. When I try to use it in my 
>> app, I got an error like "Failed loading language eng".
>> I installed tesseract 5 with leptonica 1.79
>>
>> To solve the problem I tried  that command :
>> export TESSDATA_PREFIX=/usr/share/tesseract-ocr/4/tessdata/
>> I cloned from git repo tesseract tessdata:
>> https://github.com/tesseract-ocr/tessdata.git
>> Then I moved files in /usr/share/tesseract-ocr/4/tessdat/ folder.
>> But it still not working.
>>
>> I really need help, please. I've been working for 3 days.
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/3ac7cbbe-6481-46da-b14f-7c933f499414n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/3ac7cbbe-6481-46da-b14f-7c933f499414n%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/985b43a4-57b9-4854-b27f-66095cdb72cen%40googlegroups.com.

Reply via email to