Giter Club home page Giter Club logo

tessocr's Introduction

tessocr

A wrapper for Tesseract OCR , providing formatting for resulting data as well , saving in a doc for txt I have also uploaded the required dependencies. The Tesseract DLLs need to be in one of the resource folders , linked in classpath. The Tessdata folder and english.txt in the linked lib folder.

The library has been used in the view package inside src.

Design

There is one main module which allows to convert the text to formatted text, which is helped by its sub modules. Main Module -> Uses ImageToDocument class, which accepts a buffered image as an input. The interface of the submodules can be inheritted to make use of other implementations.

  1. OCR -> The OCR Engine used. By Default Tesseract Engine is used.

  2. SpellCheck -> A Spellchecking engine is used to correct the inaccurate detections by the OCR Engine.

  3. Writers -> A Document Writing engine, which dictates on how the document would be written and in what format. Currently TextWriter and DocWriter(uses Apache POI) are present.

The image is segmented into different textual line segments(based on how distinct they are). The textual data is converted using the OCR Engine and the Formatting is deduced using relative size and the area covered by the text.

Line Segmentation Algorithms & Image Processing Techniques have been used to build this API.

tessocr's People

Contributors

xuryax 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.