GithubHelp home page GithubHelp logo

dilippuri / aadhaar-card-ocr Goto Github PK

View Code? Open in Web Editor NEW
130.0 10.0 72.0 431 KB

Extract text information from Aadhaar Card using tesseract-ocr :sunglasses:

Python 66.28% HTML 18.97% CSS 14.63% Procfile 0.11%
aadhaar ocr tesseract tesseract-ocr

aadhaar-card-ocr's Introduction

This document for OCR

Aadhaar to JSON


Problem:


Extract information from image of Aadhaar Card by OCR in proper format.
	Information like - 
				Name, Year of Birth, Gender, UID

Solution:


Steps:
	-> Take image
	-> crop to box(which has text in it)
	-> convert into gray scale(mono crome)
	-> give to tesseract
	-> text(output of tesseract)
Now we will process this text means we will get meaningful information from it.
	-> find name using name database
	-> find gender
	-> find year of birth
	-> find for Aadhar ID(UID)
for verfication please see aadhar_detail.txt file

Dependent packages


-python
-opencv
-numpy
-pytesseract
-JSON
-difflib
-csv
-PIL
-SciPy
-dataparser

Structure and Usage


Directories:
	src-
		which contains code files		
	testcases-
		which contains testing images
	result
		it contains JSON object
		
Usage:
	python file_name.py [input image]
	Output will be JSON object name

๐Ÿ’ฏ

aadhaar-card-ocr's People

Contributors

201351014 avatar avsaditya avatar dilippuri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aadhaar-card-ocr's Issues

Pan card and Aadhaar Card image OCR

Hi Dilippuri,
If you have any JAVA related code for reading text from image using OCR (opencv,tesseract).I have searched multiple blogs but no use.PLease help me on this.Please find the attached file for reference.
CV.txt

Can't find upload.php

Good Afternoon sir

I was studying your project but i'm facing a project upload.php is missing from the project.

Please help

127.0.0.1 - - [02/May/2019 12:43:02] "POST /upload.php HTTP/1.1" 404 -

Aadhaar verfication not working

I am not getting OTP. Instead I am getting this response: {"Get_Aadhar_OTPResult":"{"Master_Tag":{"Table" : [{"Status" : "ERROR"}]}}"}

Application not working and errors

Hi, I've been trying to reproduce the results from this app and enhance on it, but I'm unable to run it over the flask framework. Once I upload the image, it redirects to a page not found error and stops. Other than that, the sys.args[1] throws an out of bound error. Can we connect over here or some other medium to discuss?

Upload.php not found

I'm getting 404 error and saying like, upload.php not found.

I have gone through the code and saw that there is an action to "upload.php" in the form tag.
But there is no upload.php file in this repository.

Can you please help me resolve this error.

Too many values to unpack

" /crop_morphology.py test.jpg " is returning too many values to unpack message. Could you please provide the fix for this.

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.