Coder Social home page Coder Social logo

tesseract-simple-gui's Introduction

Tesseract simple GUI

A very simple graphical User Interface for the OCR-Software Tesseract written in Python.

The pure purpose is to convert images to .txt files via GUI - no special cases are adressed. Feel free to request features though.

Example Screenshot

Installation

Windows Users can download the executable and run the program as a standalone.

Other OSs have to compile for themselves or just use the script.

A valid installation of tesseract in your path-environment is required. You may follow the installation-instructions in the tesseract repository.

Windows Users may use a Windows-Installer. On 64-bit Windows and Tesseract-Version 4.0.0 the installation directory is <Your Users Home>\AppData\Local\Tesseract-OCR, click here for a tutorial on how-to modify your windows-10 PATH accordingly or modify the powershell-commands below for your needs:

$user_env = [Environment]::GetEnvironmentVariable("PATH", "User")
$tesseract_path = "C:\Users\<username>\AppData\Local\Tesseract-OCR"
[Environment]::SetEnvironmentVariable("PATH", "$user_env;$tesseract_path", "User")

Usage

Should be pretty self-explanatory:

  • Import a file with "Choose File"
  • Click "OCR"
  • A text file has been created in your images directory, you can also copy the text directly from the GUI

Languages

Modify or create the file lang.json in the executables directory with the language abbreviation and the encoding (see example) you want to use. Obviously the language has to be already installed with tesseract. (Check for .traineddata-files in ...\Tesseract-OCR\tessdata)

Example lang.json:

{
    "language": "eng",
    "encoding": "utf-8"
}

tesseract-simple-gui's People

Contributors

oryon-dominik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.