text2image: No such file or directory

298 views
Skip to first unread message

Ajinkya Khalwadekar

unread,
Sep 19, 2019, 7:59:22 AM9/19/19
to tesseract-ocr
I am following https://github.com/tesseract-ocr/tesseract/issues/1453 for tesseract 4.0 learning.
I am using macOS mojave.

All was good until i tried 'text2image --list_available_fonts --fonts_dir=/Library/Fonts'.

o/p i get on this is '-bash: /usr/local/bin/text2image: No such file or directory'.

Any leads on this?

Thanks in advance.

Zdenko Podobny

unread,
Sep 19, 2019, 8:01:45 AM9/19/19
to tesser...@googlegroups.com
Does  /usr/local/bin/text2image exists? Did you installed text2image/training tools?

Zdenko


št 19. 9. 2019 o 13:59 Ajinkya Khalwadekar <ajinkya.k...@gmail.com> napísal(a):
--
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/4ddf76d0-47bb-4ec5-bc88-3413e3a1e45b%40googlegroups.com.

Ajinkya Khalwadekar

unread,
Sep 21, 2019, 8:12:08 AM9/21/19
to tesseract-ocr
Hi Zdenko,

To your first question : No, /usr/local/bin/text2image does not exist.
To your 2nd question : I suppose text2image is installed along with icu4c, i have not installed text2image explicitly. Correct me if i am wrong, also let me know if there is way to install text2image explicitly.

Thanks,
Ajinkya.




On Thursday, September 19, 2019 at 5:31:45 PM UTC+5:30, zdenop wrote:
Does  /usr/local/bin/text2image exists? Did you installed text2image/training tools?

Zdenko


št 19. 9. 2019 o 13:59 Ajinkya Khalwadekar <ajinkya.k...@gmail.com> napísal(a):
I am following https://github.com/tesseract-ocr/tesseract/issues/1453 for tesseract 4.0 learning.
I am using macOS mojave.

All was good until i tried 'text2image --list_available_fonts --fonts_dir=/Library/Fonts'.

o/p i get on this is '-bash: /usr/local/bin/text2image: No such file or directory'.

Any leads on this?

Thanks in advance.

--
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.

Shree Devi Kumar

unread,
Sep 21, 2019, 8:26:52 AM9/21/19
to tesseract-ocr
During the build process, did you

make training
sudo make training-install

what platform are you using?

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/c089163f-5105-4c04-843b-04460dbd4481%40googlegroups.com.


--

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

Ajinkya Khalwadekar

unread,
Sep 21, 2019, 3:25:42 PM9/21/19
to tesseract-ocr
Yes shree, i did both these steps, infact i am following https://github.com/tesseract-ocr/tesseract/issues/1453 . 

I am using MacOS mojave.

Shree Devi Kumar

unread,
Sep 21, 2019, 9:21:10 PM9/21/19
to tesseract-ocr
make training
Should build all the training tools including text2image.

If you don't find them, there must be some error causing them not to build.

Check the log from the build process.

Make sure you have the correct version of Cairo and pango and ICU libraries.

You may want to uninstall existing version of tesseract, make clean and then rerun the build process.

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/5153212d-f719-415c-bf0b-d83c0a37eded%40googlegroups.com.

Ajinkya Khalwadekar

unread,
Sep 22, 2019, 10:59:33 AM9/22/19
to tesseract-ocr
Hi shree,

Can you please suggest me any articles which i can follow for clean install for this?

Zdenko Podobny

unread,
Sep 22, 2019, 11:26:39 AM9/22/19
to tesser...@googlegroups.com
what about try to read wiki?

Zdenko


ne 22. 9. 2019 o 16:59 Ajinkya Khalwadekar <ajinkya.k...@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 view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/cfab3a2f-5edd-438e-894b-984f53361df7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages