Can't run / process images on Mac

47 views
Skip to first unread message

Thomas Moine

unread,
Dec 3, 2019, 1:43:35 AM12/3/19
to tesseract-ocr

I can't code nor program so please be very precise and step-by-step in your answers. Thanks.

I need an accurate OCR prosess to transcribe danish / norwegian fraktur.

I installed tesseract via homebrew.
I placed the file dan_frak.traineddata in usr/local/cellar/tesseract/4.1.0/share/tessdata

Running Mac Os 10.15

Command tesseract -v gives me the following:

tesseract 4.1.0

 leptonica-1.78.0

  libgif 5.2.1 : libjpeg 9c : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 1.0.3 : libopenjp2 2.3.1

 Found AVX2

 Found AVX

 Found SSE


Commands like the following don't work:


 tesseract whatever.fileformat out
tesseract whatever.fileformat out -l dan_frak

I'm getting the following error message

Error, cannot read input file whatever.fileformat: No such file or directory

Error during processing.

I tried .jpeg, jpg, tif, tiff, png.

I am surely doing something wrong, but the tutos are very superficial and don't explain at all were the source files should be and so on.

Thanks in advance

Zdenko Podobny

unread,
Dec 6, 2019, 2:39:50 PM12/6/19
to tesser...@googlegroups.com
IMO error message is clear enough:

Error, cannot read input file whatever.fileformat: No such file or directory

Zdenko


ut 3. 12. 2019 o 7:43 Thomas Moine <mellomde...@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/731c48f4-2fdd-4df9-8350-ae0f4e17ebfa%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages