Giter Club home page Giter Club logo

sakmanal / imganalysistoolkit Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 12.25 MB

Image Analysis Toolkit for text document Binarization & Segmentation written in TypeScript.

Home Page: https://imganalysis.netlify.app

JavaScript 0.70% TypeScript 81.33% HTML 13.74% CSS 3.73% SCSS 0.51%
angular angular-material web-workers ostu-threshold sauvola-threshold gpp-threshold text-segmentation arlsa-segmentation binarization image-processing image-analysis typescript

imganalysistoolkit's Introduction

ImgAnalysisToolkit

This project is a client side Image Analysis Toolkit for text document Binarization & Segmentation written in TypeScript.

Demo: (https://imganalysis.netlify.app)

Binarization

Implements Otsu [1], Sauvola [2] and GPP [3] Binarization methods for modern/degraded documents.

Segmentation

Implements Text Segmentation method for modern/historical machine-printed documents based on ARLSA [4].

Features

  • Open and read Image Files
  • Image histogram chart
  • Pixel manipulation with canvas
  • Image Processing with Web Workers
  • Load and process multiple images together
  • Load Ground Truth files and evaluate the implemented processing algorithms
  • Custom made Tool that:
    • Displays the word segments inside the image (Selects Multiple rectangular areas of the image)
    • Allows to add, delete, move, resize the selections with mouse
    • Drag and move image inside Canvas
    • Zoom image with mouse wheel
    • Keyboard support for above operations
    • Auto-selects the word-boundaries(background pixels, works only on binary images)
    • Opens text input field above each selection for typing the retrieved word
    • Saves selections to local Storage and auto-loads them on start-up
    • Keeps aspect ratio of the selections on window resize
    • Fully Responsive
  • Table for viewing the extracted word segments
  • Save and Download the extracted word segments to JSON file
  • Responsive UI with Angular Material

Demo Preview:

clip11

clip2

clip33

Reference

  1. N. Otsu, "A threshold selection method from gray-level histograms," IEEE Trans. Systems, Man, and Cybernetics, vol. 9, pp. 62-66, 1979.

  2. J. Sauvola and M. Pietikainen, "Adaptive document image binarization," Pattern Recognition, vol. 33, no. 2, pp. 225-236, February 2000.

  3. B. Gatos, I. Pratikakis and S. J. Perantonis, "Adaptive degraded document image binarization," Pattern Recognition, vol. 39, no. 3, pp. 317-327, March 2006.

  4. N. Nikolaou, M. Makridis, B. Gatos, N. Stamatopoulos and N. Papamarkos, "Segmentation of historical machine-printed documents using Adaptive Run Length Smoothing and skeleton segmentation paths," Image and Vision Computing, vol. 28, no. 4, pp. 590-604, April 2010.

imganalysistoolkit's People

Contributors

sakmanal avatar

Stargazers

 avatar

Watchers

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