Skip to content

Native python OCR app running locally to extract text from your images.

License

Notifications You must be signed in to change notification settings

ahme-dev/imgtotxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImgToTxt

Native python OCR app running locally to extract text from your images. It provides a native look and feel, and downloads the models for recognition of text to use without any remote connection.

Made with great libraries:

Installation

Must have Python, Pip, and Git installed.

  1. From pip:
  • Install from pip:
    pip install imgtotxt
  • Run from terminal/cmd:
    imgtotxt
  1. From git:
  • Clone and enter directory:
    git clone --depth=1 https://github.com/ahmeddots/imgtotxt && cd imgtotxt
  • Install all requirements:
    pip install -r requirements.txt
  • Run the app (only need to repeat this step next time):
    python -m imgtotxt

Usage

  • You will be greeted with three actions, and three sections for preview.

  • By clicking on "Languages", you will be presented with a window to select languages in. Note that the selection element works a bit strangely - any time you select an item, it'll be added to the list, and if you select it again it will be removed from the list. Sadly, there doesn't seem to be a multi-select element in Toga.

  • After selecting the desired languages, click on "Load languages", but be patient since loading languages might take some time at first as they'll be downloaded.

  • Next, you must click on "Open Image" to select an image from your storage. The image path will display under the "Current Image" section.

  • Finally and obviously, click on "Extract Text", and after some waiting (depending on your specs) the text will display under the "Extracted Text" section.

About

Native python OCR app running locally to extract text from your images.

Topics

Resources

License

Stars

Watchers

Forks

Languages