Detects and extracts the features in a aadhaar card
Project description
Use to extract details from a image of a aadhaar card
Trained using YOLOv8
Check out the Github Repo for more info
Note : Requires external installation of tesseract , and setting the environment variable of the same
How to use :
from Aadhaar_extractor.Extractor import AadhaarExtractor
#create a object of the AadhaarExtractor class by passing the image of the aadhaar card as argument
obj = AadhaarExtractor("aadhaar.jpg")
#use obj.extract() for extracting the data
extractedData = obj.extract()
The extract() method will return , a list of all the fields detected .
This module currently detects five fields:
- Aadhaar Number (aadhaar_no)
- Date of Birth (dob)
- Gender (gender)
- Name (name)
- Address (address)
Each field is member of the list(detected field), has four fields in the following order
-
The coordinates of the detected field in x1,y1,x2,y2 format (type=list)
-
The name of the field
-
Confidence of detection
-
Extracted text from the detected field
Note:All the data used to train , were publicly available in the internet
This project is far from complete, and can be made much better, feel free to contribute
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Aadhaar_extractor-0.0.5.tar.gz
.
File metadata
- Download URL: Aadhaar_extractor-0.0.5.tar.gz
- Upload date:
- Size: 5.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e738b229c4ed63f53612a3fac4a054fcfb8c5da73573fee55c6af63a706cd78 |
|
MD5 | f34a2f4a90309283e53f1cbe766f37fd |
|
BLAKE2b-256 | 256b48bc04d05a59c545f9afb85a15205acda8e00c75fe666bccc750f8812bfd |
File details
Details for the file Aadhaar_extractor-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: Aadhaar_extractor-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34408af36b12aea2cde8bead27b584ab37b977f6272c4ca65dc9e3fd405d43d5 |
|
MD5 | 1cc8b8a71bd30ecc7cb2425c878fc0ab |
|
BLAKE2b-256 | 6ee811ac6ed0cac33a473a2e8e33d6708cce2b2594a121b0311681ba7701b56a |