Skip to main content

Use to extract details from a image of a aadhaar card

Trained using YOLOv8

Dataset

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:

  1. Aadhaar Number (aadhaar_no)
  2. Date of Birth (dob)
  3. Gender (gender)
  4. Name (name)
  5. Address (address)

Each field is member of the list(detected field), has four fields in the following order

  1. The coordinates of the detected field in x1,y1,x2,y2 format (type=list)

  2. The name of the field

  3. Confidence of detection

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

Metadata

Release files for Aadhaar-extractor 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Aadhaar-extractor 0.0.5
File Size Uploaded Provenance Actions
Aadhaar_extractor-0.0.5.tar.gz 5.6 MB Without provenance Details for Aadhaar_extractor-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Aadhaar-extractor 0.0.5
File Interpreter ABI Platform Actions
Aadhaar_extractor-0.0.5-py3-none-any.whl Python 3 none any Details for Aadhaar_extractor-0.0.5-py3-none-any.whl

Total release size: 11.2 MB

Release files / Aadhaar_extractor-0.0.5.tar.gz

Download URL Aadhaar_extractor-0.0.5.tar.gz
Size 5.6 MB
Tags Source
SHA-256 checksum
How to use checksums
1e738b229c4ed63f53612a3fac4a054fcfb8c5da73573fee55c6af63a706cd78
BLAKE2b-256 checksum
How to use checksums
256b48bc04d05a59c545f9afb85a15205acda8e00c75fe666bccc750f8812bfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / Aadhaar_extractor-0.0.5-py3-none-any.whl

Download URL Aadhaar_extractor-0.0.5-py3-none-any.whl
Size 5.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
34408af36b12aea2cde8bead27b584ab37b977f6272c4ca65dc9e3fd405d43d5
BLAKE2b-256 checksum
How to use checksums
6ee811ac6ed0cac33a473a2e8e33d6708cce2b2594a121b0311681ba7701b56a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Security for Aadhaar-extractor 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page