Code Monkey home page Code Monkey logo

vorachaitya / pehchan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neel-shah-29/pehchan

0.0 0.0 0.0 105.24 MB

Assessing the quality of the documents and determine if they are fit to undergo OCR and further processing using computer vision, image processing methods, and machine learning models.

License: MIT License

Shell 0.01% JavaScript 0.42% Python 0.04% CSS 0.04% HTML 0.02% Jupyter Notebook 99.40% SCSS 0.05% Solidity 0.03%
unscript-2023

pehchan's Introduction

Our Solution for Unskript Hackathon

Problem Statement

In the ever-evolving metaverse, the need for digitising text documents and extracting their essential data is becoming more crucial. However, the quality of these documents can often be poor, resulting in low-quality Optical Character Recognition (OCR) data and poor document intelligence extraction.

Our Solution

  • We decided to assess the quality of the documents and determine if they are fit to undergo OCR and further processing using computer vision, image processing methods, and machine learning models, or any other solution that provides the best outcome.

  • Image can vary in size, colour, format, and quality.

  • We will classify the documents into three categories: GOOD, MODERATE, and POOR, based on the accuracy of OCR text (including numbers and special characters)

  • Document quality classes are defined as:

    • GOOD - >= 95% accuracy
    • MODERATE - 88 to 95%
    • POOR - below 88%

Our model

  • We have used LayoutLM model which is a simple but effective pretraining method of text and layout for document image understanding and information extraction tasks, such as form understanding and receipt understanding. It obtains state-of-the-art results on several downstream tasks.

  • It can successfully distinguish different categories of image

  • Model Accuracy is 85%

  • Average Proccessing time is nearly 0.6s image (2)

Model Features

  1. Login/SignUp : It has several authentications and also the passwords are hashed to increase the security.
  2. Quality of Image : Quality of image is decided on above mentioned criteria.
  3. Data Extraction : We have implemented tesseract which is an optical character recognition (OCR) tool for python. De-Skew, Despeckle, Script recognition, Character isolation or segmentation, Normalization were used for pre-processing.
  4. Edit Image : It supports 6 different feautures including crop,flip,rotate,etc. You can also save edited images.

Flowchart

image (1)

πŸ‘¨β€πŸ’»Team Members

pehchan's People

Contributors

vorachaitya avatar harshilshah99 avatar neel-shah-29 avatar kunala18 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.