Search Here

pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed

 In this article you will learn how to use pytesseract to recognize characters from a given image. This article is belong to optical character recognition (OCR) using tesseract python library.

pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH

tesseract is not installed or it's not in your PATH

Sometime when you are using pytesseract to recognize OCR you are facing below error. 

pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your PATH.


Steps to resolve TesseractNotFoundError 

To resolve this issue follow below steps.

  1. Download and Install latest version of tesseract (https://github.com/UB-Mannheim/tesseract/wiki)
  2. py -m pip install pytesseract (Run this command to install pytesseract)
  3. Set environment variable (Add this path to environment variable "C:\Program Files\Tesseract-OCR")
  4. Set the tesseract path in the script before calling image_to_string() function


Post a Comment

0 Comments