/textfromimage

Convert text in screenshot image to text with python

Primary LanguagePythonMIT LicenseMIT

textfromimage - Opensource

Convert text in screenshot image to text with python

Installation

  • Install Python 3
  • Clone this repository and cd into it cd textfromimage
  • (Optional) Create a virtual environment, for example with python -m venv .venv, and activate it
  • Install the required packages with pip install -r requirements.txt
  • Install Google's Tesseract OCR Engine, and ensure that tesseract can be reached from the command line by adding the directory to your system path.
  • python textfromimage.py