Update README.md
Browse files
README.md
CHANGED
|
@@ -171,7 +171,7 @@ The **Indian ID Validator** uses deep learning to:
|
|
| 171 |
- **Detect** specific fields (e.g., Aadhaar Number, DOB, Name) using type-specific YOLO11 detection models.
|
| 172 |
- **Extract** text from detected fields via PaddleOCR with image preprocessing (upscaling, denoising, contrast enhancement).
|
| 173 |
|
| 174 |
-
Supported ID
|
| 175 |
- Aadhaar (front and back)
|
| 176 |
- PAN Card (front)
|
| 177 |
- Passport (front)
|
|
@@ -180,31 +180,31 @@ Supported ID types:
|
|
| 180 |
|
| 181 |
## Models
|
| 182 |
|
| 183 |
-
The following models
|
| 184 |
|
| 185 |
-
| Model Name | Type
|
| 186 |
-
|------------------|-------------
|
| 187 |
-
| Id_Classifier | YOLO11l-cls
|
| 188 |
-
| Aadhaar | YOLO11l
|
| 189 |
-
| Driving_License | YOLO11l
|
| 190 |
-
| Pan_Card | YOLO11l
|
| 191 |
-
| Passport | YOLO11l
|
| 192 |
-
| Voter_Id | YOLO11l
|
| 193 |
|
| 194 |
-
##
|
| 195 |
|
| 196 |
-
Below is a
|
| 197 |
|
| 198 |
-
| Model Name | Task | Metrics |
|
| 199 |
-
|------------------|---------------------|-------------------------------------------------------------------------------------------|
|
| 200 |
-
| **Id_Classifier**| Image Classification| Accuracy (Top-1): 0.995, Accuracy (Top-5): 1.0 |
|
| 201 |
-
| **Aadhaar** | Object Detection | mAP50: 0.795, mAP50-95: 0.553, Precision: 0.777, Recall: 0.774, Fitness: 0.577 |
|
| 202 |
-
| **Driving_License**| Object Detection | mAP50: 0.690, mAP50-95: 0.524, Precision: 0.752, Recall: 0.669 |
|
| 203 |
-
| **Pan_Card** | Object Detection | mAP50: 0.924, mAP50-95: 0.686, Precision: 0.902, Recall: 0.901 |
|
| 204 |
-
| **Passport** | Object Detection | mAP50: 0.987, mAP50-95: 0.851, Precision: 0.972, Recall: 0.967 |
|
| 205 |
-
| **Voter_Id** | Object Detection | mAP50: 0.917, mAP50-95: 0.772, Precision: 0.922, Recall: 0.873 |
|
| 206 |
|
| 207 |
-
For
|
| 208 |
|
| 209 |
## Installation
|
| 210 |
|
|
|
|
| 171 |
- **Detect** specific fields (e.g., Aadhaar Number, DOB, Name) using type-specific YOLO11 detection models.
|
| 172 |
- **Extract** text from detected fields via PaddleOCR with image preprocessing (upscaling, denoising, contrast enhancement).
|
| 173 |
|
| 174 |
+
**Supported ID Types**:
|
| 175 |
- Aadhaar (front and back)
|
| 176 |
- PAN Card (front)
|
| 177 |
- Passport (front)
|
|
|
|
| 180 |
|
| 181 |
## Models
|
| 182 |
|
| 183 |
+
The pipeline consists of the following models, each designed for specific tasks in the ID validation process. Models can be downloaded from their respective Ultralytics Hub links in various formats such as PyTorch, ONNX, TensorRT, and more for deployment in different environments.
|
| 184 |
|
| 185 |
+
| Model Name | Type | Description | Link |
|
| 186 |
+
|------------------|-------------|-----------------------------------------------------------------------------------------------|-------------------------------------------|
|
| 187 |
+
| Id_Classifier | YOLO11l-cls | Classifies the type of Indian ID document (e.g., Aadhaar, Passport). | [Ultralytics Hub](https://hub.ultralytics.com/models/QnJjO78MxBaRVeX2wOO4) |
|
| 188 |
+
| Aadhaar | YOLO11l | Detects fields on Aadhaar cards (front and back), such as Aadhaar Number, DOB, and Address. | [Kaggle Notebook](https://www.kaggle.com/code/ravindranlogasanjeev/aadhaar) |
|
| 189 |
+
| Driving_License | YOLO11l | Detects fields on Driving Licenses (front and back), including DL No, DOB, and Vehicle Type. | [Ultralytics Hub](https://hub.ultralytics.com/models/eaHzQ79umKwJkic9DXbm) |
|
| 190 |
+
| Pan_Card | YOLO11l | Detects fields on PAN Cards, such as PAN Number, Name, and DOB. | [Ultralytics Hub](https://hub.ultralytics.com/models/Yj4aJ34fK02MkrHFSXq0) |
|
| 191 |
+
| Passport | YOLO11l | Detects fields on Passports, including MRZ lines, DOB, and Nationality. | [Ultralytics Hub](https://hub.ultralytics.com/models/ELaiHGZ0bbr4JwsvSZ7z) |
|
| 192 |
+
| Voter_Id | YOLO11l | Detects fields on Voter ID cards (front and back), such as Voter ID, Name, and Address. | [Ultralytics Hub](https://hub.ultralytics.com/models/jAz7y1UQAfr2oBlwLGDp) |
|
| 193 |
|
| 194 |
+
## Model Details
|
| 195 |
|
| 196 |
+
Below is a detailed breakdown of each model, including the classes they detect and their evaluation metrics on a custom Indian ID dataset.
|
| 197 |
|
| 198 |
+
| Model Name | Task | Classes | Metrics |
|
| 199 |
+
|------------------|---------------------|-------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|
|
| 200 |
+
| **Id_Classifier**| Image Classification| `aadhar_back`, `aadhar_front`, `driving_license_back`, `driving_license_front`, `pan_card_front`, `passport`, `voter_id` | Accuracy (Top-1): 0.995, Accuracy (Top-5): 1.0 |
|
| 201 |
+
| **Aadhaar** | Object Detection | `Aadhaar_Number`, `Aadhaar_DOB`, `Aadhaar_Gender`, `Aadhaar_Name`, `Aadhaar_Address` | mAP50: 0.795, mAP50-95: 0.553, Precision: 0.777, Recall: 0.774, Fitness: 0.577 |
|
| 202 |
+
| **Driving_License**| Object Detection | `Address`, `Blood Group`, `DL No`, `DOB`, `Name`, `Relation With`, `RTO`, `State`, `Vehicle Type` | mAP50: 0.690, mAP50-95: 0.524, Precision: 0.752, Recall: 0.669 |
|
| 203 |
+
| **Pan_Card** | Object Detection | `PAN`, `Name`, `Father's Name`, `DOB`, `Pan Card` | mAP50: 0.924, mAP50-95: 0.686, Precision: 0.902, Recall: 0.901 |
|
| 204 |
+
| **Passport** | Object Detection | `Address`, `Code`, `DOB`, `DOI`, `EXP`, `Gender`, `MRZ1`, `MRZ2`, `Name`, `Nationality`, `Nation`, `POI` | mAP50: 0.987, mAP50-95: 0.851, Precision: 0.972, Recall: 0.967 |
|
| 205 |
+
| **Voter_Id** | Object Detection | `Address`, `Age`, `DOB`, `Card Voter ID 1 Back`, `Card Voter ID 2 Front`, `Card Voter ID 2 Back`, `Card Voter ID 1 Front`, `Date of Issue`, `Election`, `Father`, `Gender`, `Name`, `Point`, `Portrait`, `Symbol`, `Voter ID` | mAP50: 0.917, mAP50-95: 0.772, Precision: 0.922, Recall: 0.873 |
|
| 206 |
|
| 207 |
+
For additional details, refer to the `model-index` section in the YAML metadata at the top of this README.
|
| 208 |
|
| 209 |
## Installation
|
| 210 |
|