pdf (mm.pdf) is not image file. It is document file.
Tesseract accept as input only image files (tiff, png, jpeg... based on
your leptonica build)

Zdenko

On Thu, Mar 24, 2016 at 5:27 PM, Jacob Stoker <stoke...@gmail.com> wrote:

> Hello tesseract-ocr world!
>
> So I'm running tesseract. I have everything installed as far as I can
> tell. I'm on the El Capitan version.
>
> I run the command:
>
> *tesseract mm.pdf mm pdf*
>
> hoping to take the file "mm.pdf" and ocr the file into a searchable PDF. I
> get an error: *pixReadMem: size < 12*
>
> I assume this means that the text wasn't large enough? Do I just have to
> rescan the document with different settings?
>
>
> For my own curiosity, how does tesseract know where the file is in the
> first place, given that the command was so short?
>
> --
> 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 post to this group, send email to tesseract-ocr@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/f87af2a9-db5c-4278-b362-82949df9773b%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/f87af2a9-db5c-4278-b362-82949df9773b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to tesseract-ocr@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/CAJbzG8wu9hP8YjGRa81V67bhF4bxOQ_%3DYQCvoW6SMn-jFf5G5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to