GithubHelp home page GithubHelp logo

lahirukumarahewagama / form-segmentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doxakis/form-segmentation

1.0 0.0 0.0 2.64 MB

Let's explore how we can extract text from forms

License: MIT License

Jupyter Notebook 100.00%

form-segmentation's Introduction

Form Segmentation

Let's explore how we can extract text from any forms / scanned pages.

Objectives

The goal is to find an algorithm that can extract the maximum information from a given page (jpg format). So, we can feed it to another system. (Business logic, neural network, classifier, etc.) The overall process may not be perfect. But it would be great if it can find enough information to identify the type of document and the involve identities.

  • Parse any form / scanned page and extract any text data (printed text and handwriting text). So, no prior knowledge of the layout / structure of the document.

  • Automatic extraction process (no human interaction. So, it can scale out)

  • Somehow fast (or the ability to speed up the task with more machines or CPU)

Challenges

There are many challenges to overcome. But the main problem is to identify which part of the form contains text.

Some other challenges:

  • Black Border Removal
  • ICR (Intelligent Character Recognition): recognize and convert hand-drawn characters into text
  • Scanned page (Detect edges and apply a perspective transform to obtain the top-down view of the document)
  • Remove noise (blur, OTSU, adaptivethreshold with opencv)
  • Shape detection and extraction
  • OCR (Not a real issue since we can use : Tesseract 4 great for printed text)
  • Handwriting recognition
  • Minimize errors

form-segmentation's People

Contributors

doxakis avatar

Stargazers

Lahiru kumara 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.