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.2.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

imgtotxt-0.1.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: imgtotxt-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0a88cf5042779b188557ea27bf80e9ac7c05546a9042e1cbfae93ef55f269d48
MD5 5bb0e1c5d683371ae99c9def2fff6698
BLAKE2b-256 016e1eae7e40ce82266bf944610b8000632799254ee5aa2d4190491b845d71d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: imgtotxt-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d23b9ead1422c8abf03adc9bfa04eb347e0c9a259ca165d3c70eafa66c670fa9
MD5 4a19985351b9ce52809aa1167afccd7c
BLAKE2b-256 bfd2bd2586e0da3c99ccb6e17be4d18f0905b610a300e3136a0202069edf7ce3

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