Skip to main content

OCR app running locally with native UI

Project description

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.

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imgtotxt-0.1.1.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

imgtotxt-0.1.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file imgtotxt-0.1.1.tar.gz.

File metadata

  • Download URL: imgtotxt-0.1.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for imgtotxt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 62eee3b030db713c561243944304484d9cdf6ad34a0360ba91f61bd5f7432991
MD5 be8dfb57cd916ae3b1b394ecc0beb887
BLAKE2b-256 d9f8bdb54b2f2fc7b8c0cadf7d2d7b377a45269a6a1e7117d7dc57cf8cefe832

See more details on using hashes here.

File details

Details for the file imgtotxt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: imgtotxt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for imgtotxt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b4511d2534effbb944e5662995fe1678ddfc71c72370fe863e5acfe0096b7d
MD5 2ab2d73dc5555a489a1183c71f37bedb
BLAKE2b-256 057b7f25883041f44ff3ca2abcff5a58aa89732c8419ca9e7e699d9d1e8dd277

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page