Git Product home page Git Product logo

hwr's Introduction

Handwriting Recognition

What it is:

Python application for optical character recognition of characters from the dead sea scrolls.

Setup:

  • make sure you have Python 2.7.x. installed.
  • install pip for automatically installing dependencies.
  • Make sure you have virtualenv installed (pip install virtualenv)
  • run virtualenv --python=python2.7 venv
  • run source venv/bin/activate
  • run pip install -r requirements.txt

requirements:

adding dependencies:

To add a new dependencies:

  • run pip install <package>
  • run pip freeze > requirements.txt

The first command will install the desired package, while the second updates the requirements.txt file.

removing a dependency:

To remove an installed dependency:

  • run pip uninstall <package>
  • run pip freeze > requirements.txt

The first command will uninstall the desired package, while the second updates the requirements.txt file.

installing MATLAB Engine API for Python:

  • Make sure the virtual environment is activated: source venv/bin/activate

  • run cd [Matlab installation directory]/extern/engines/python

  • run sudo python setup.py install

running the pipeline:

From the project root directory:

  • run python pipeline.py [input directory] [output directory]

This will segment the words for each of the images in the input directory. It will create a directory under output directory path for each of the images in the input directory named after the image name. In the generated folders, the images with the detected words will be stored.

Only grayscale images are supported. If a color image is found in the input directory, it will be converted to grayscale. Word segmentation is computationally expensive, a run for a single image take around 4 minutes.

hwr's People

Contributors

jeroenhoekstra91 avatar emilettele avatar m-rios avatar swarajdalmia avatar

Stargazers

Nitin Paul avatar  avatar

Watchers

 avatar  avatar  avatar

hwr's Issues

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.