Update config.json
Browse files- config.json +19 -20
config.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"//": "Configuration file for indian-id-validator models, mapping document types to detection models and class names",
|
| 3 |
"models": {
|
| 4 |
-
"
|
| 5 |
"type": "classification",
|
| 6 |
-
"path": "models/
|
| 7 |
"classes": {
|
| 8 |
"0": "aadhar_back",
|
| 9 |
"1": "aadhar_front",
|
|
@@ -14,9 +13,9 @@
|
|
| 14 |
"6": "voter_id"
|
| 15 |
}
|
| 16 |
},
|
| 17 |
-
"
|
| 18 |
"type": "detection",
|
| 19 |
-
"path": "models/
|
| 20 |
"classes": [
|
| 21 |
"Aadhaar_Number",
|
| 22 |
"Aadhaar_DOB",
|
|
@@ -25,9 +24,9 @@
|
|
| 25 |
"Aadhaar_Address"
|
| 26 |
]
|
| 27 |
},
|
| 28 |
-
"
|
| 29 |
"type": "detection",
|
| 30 |
-
"path": "models/
|
| 31 |
"classes": [
|
| 32 |
"PAN",
|
| 33 |
"Name",
|
|
@@ -36,9 +35,9 @@
|
|
| 36 |
"Pan Card"
|
| 37 |
]
|
| 38 |
},
|
| 39 |
-
"
|
| 40 |
"type": "detection",
|
| 41 |
-
"path": "models/
|
| 42 |
"classes": [
|
| 43 |
"Address",
|
| 44 |
"Code",
|
|
@@ -54,9 +53,9 @@
|
|
| 54 |
"POI"
|
| 55 |
]
|
| 56 |
},
|
| 57 |
-
"
|
| 58 |
"type": "detection",
|
| 59 |
-
"path": "models/
|
| 60 |
"classes": [
|
| 61 |
"Address",
|
| 62 |
"Age",
|
|
@@ -76,9 +75,9 @@
|
|
| 76 |
"Voter ID"
|
| 77 |
]
|
| 78 |
},
|
| 79 |
-
"
|
| 80 |
"type": "detection",
|
| 81 |
-
"path": "models/
|
| 82 |
"classes": [
|
| 83 |
"Address",
|
| 84 |
"Blood Group",
|
|
@@ -93,12 +92,12 @@
|
|
| 93 |
}
|
| 94 |
},
|
| 95 |
"doc_type_to_model": {
|
| 96 |
-
"aadhar_front": "
|
| 97 |
-
"aadhar_back": "
|
| 98 |
-
"pan_card_front": "
|
| 99 |
-
"passport": "
|
| 100 |
-
"voter_id": "
|
| 101 |
-
"driving_license_front": "
|
| 102 |
-
"driving_license_back": "
|
| 103 |
}
|
| 104 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"models": {
|
| 3 |
+
"Id_Classifier": {
|
| 4 |
"type": "classification",
|
| 5 |
+
"path": "models/Id_Classifier.pt",
|
| 6 |
"classes": {
|
| 7 |
"0": "aadhar_back",
|
| 8 |
"1": "aadhar_front",
|
|
|
|
| 13 |
"6": "voter_id"
|
| 14 |
}
|
| 15 |
},
|
| 16 |
+
"Aadhaar": {
|
| 17 |
"type": "detection",
|
| 18 |
+
"path": "models/Aadhaar_Card.pt",
|
| 19 |
"classes": [
|
| 20 |
"Aadhaar_Number",
|
| 21 |
"Aadhaar_DOB",
|
|
|
|
| 24 |
"Aadhaar_Address"
|
| 25 |
]
|
| 26 |
},
|
| 27 |
+
"Pan_Card": {
|
| 28 |
"type": "detection",
|
| 29 |
+
"path": "models/Pan_Card.pt",
|
| 30 |
"classes": [
|
| 31 |
"PAN",
|
| 32 |
"Name",
|
|
|
|
| 35 |
"Pan Card"
|
| 36 |
]
|
| 37 |
},
|
| 38 |
+
"Passport": {
|
| 39 |
"type": "detection",
|
| 40 |
+
"path": "models/Passport.pt",
|
| 41 |
"classes": [
|
| 42 |
"Address",
|
| 43 |
"Code",
|
|
|
|
| 53 |
"POI"
|
| 54 |
]
|
| 55 |
},
|
| 56 |
+
"Voter_Id": {
|
| 57 |
"type": "detection",
|
| 58 |
+
"path": "models/Voter_Id.pt",
|
| 59 |
"classes": [
|
| 60 |
"Address",
|
| 61 |
"Age",
|
|
|
|
| 75 |
"Voter ID"
|
| 76 |
]
|
| 77 |
},
|
| 78 |
+
"Driving_License": {
|
| 79 |
"type": "detection",
|
| 80 |
+
"path": "models/Driving_License.pt",
|
| 81 |
"classes": [
|
| 82 |
"Address",
|
| 83 |
"Blood Group",
|
|
|
|
| 92 |
}
|
| 93 |
},
|
| 94 |
"doc_type_to_model": {
|
| 95 |
+
"aadhar_front": "Aadhaar",
|
| 96 |
+
"aadhar_back": "Aadhaar",
|
| 97 |
+
"pan_card_front": "Pan_Card",
|
| 98 |
+
"passport": "Passport",
|
| 99 |
+
"voter_id": "Voter_Id",
|
| 100 |
+
"driving_license_front": "Driving_License",
|
| 101 |
+
"driving_license_back": "Driving_License"
|
| 102 |
}
|
| 103 |
}
|