Code Monkey home page Code Monkey logo

readpyne's Introduction

readpyne

This repo contains a toolkit that allows one to feed in a number of shop receipts (or similar data) and after some training allows extraction of given lines from the receipts. For example if you were interested in extracting just the items bought from receipts this would be suitable for that purpose.

The toolkit contains everything you need to:

  • (a) create training data
  • (b) quickly label entries
  • (c) train a model to classify lines
  • (d) ocr lines that vere extracted and filtered using the model
  • (e) pipe these steps together into a coherent pipeline once a model is trained

Note on the state of the repo:

This repo is decomissioned, but functional. It has been developed and then superseeded with other tools. However it does contain value as a product and is shared for that purpose. The value here is the whole framework of doing this process and not specifically the efficiency of the OCR or Text detection. Forks are welcome to swap these parts of the library with more effective algorithms.

Consequentially, the tests will not run as the test_resources folder has been removed as it contained resources that were not public. Furthermore the model that comes packed with the repository was trained on a specific set of images and will not do well at line extraction for arbitrary text. Please retrain a model for your tasks.

Installation

Prerequisites

  • python 3.7+
  • tesseract 4+ (see link)
  • virtual environment (completely optional but recommended, see link)

To install

In your terminal use:

pip install git+ssh://[email protected]/datasciencecampus/readpyne.git@master

Usage & documentation

For example of usage as well as documentation of the API please refer to: https://datasciencecampus.github.io/readpyne/

readpyne's People

Contributors

finnkauski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

readpyne's Issues

Add LICENCE

Hey @finnkauski can you add a LICENCE file to this. MIT or ONS specific, whichever you feel appropriate. Trying to get LICENCE docs on all our public repos.

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.