Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Image to text

  • This script can be used to convert extract the text in an image and store it in a text file
  • The concept of Optical Character Recognition is used
  • The pytesseract module has been used for the same

Working

  • Dependencies and Installs:

    • pip install pytesseract
  • To run the script :

    • python3 image-to-text.py "path to image"
  • Considering an example :

  • This is the image Image

  • On running the script Image

  • This is the text file that has the extracted text from the image Image