Did you follow instruction for installation of that package?
Did you try internet search before posting on forum?
Did you try to search for help in project  tesserocr???

I just put it to google and I got:
https://pypi.org/project/tesserocr/
https://github.com/sirfz/tesserocr
https://oded.blog/2017/01/08/ocr-made-easy-using-tesserocr/

Zdenko


št 31. 5. 2018 o 8:40 Abel Tan <[email protected]> napísal(a):

> Hi,
>
> I installed pytesseract by using Anaconda
>
> conda install -c simonflueckiger tesserocr
>
>
> The path to Anaconda is :C:\Users\Tan\Anaconda3\
>
> The path to tesseract package is :
> C:\Users\Tan\Anaconda3\Lib\site-packages\tesserocr
>
> However when I start up Jupyter notebook and run :
>
> import tesserocr
>
>
> print(tesserocr.image_to_text(image))
>
> I get error:
>
>
> RuntimeError                              Traceback (most recent call 
> last)<ipython-input-12-bd27261f0d8c> in <module>()----> 1 
> print(tesserocr.image_to_text(imagee))
> tesserocr.pyx in tesserocr._tesserocr.image_to_text()
> RuntimeError: Failed to init API, possibly an invalid tessdata path: 
> C:\Users\Tan\Anaconda3\
>
>
>
>
> How do I solve this problem?
>
>
> Thanks
>
> Abel
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/11c1f35c-943a-4d9e-a045-71b558dab269%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/11c1f35c-943a-4d9e-a045-71b558dab269%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 [email protected].
To post to this group, send email to [email protected].
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/CAJbzG8wbVBTVTm-zzqqNdHu8sLvMop5MRAZ_n9qPC%2BiOnP3isg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to