logasanjeev commited on
Commit
b8743dd
·
verified ·
1 Parent(s): 8861d9a

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +82 -99
config.json CHANGED
@@ -1,103 +1,86 @@
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",
9
- "2": "driving_license_back",
10
- "3": "driving_license_front",
11
- "4": "pan_card_front",
12
- "5": "passport",
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",
22
- "Aadhaar_Gender",
23
- "Aadhaar_Name",
24
- "Aadhaar_Address"
25
- ]
26
- },
27
- "Pan_Card": {
28
- "type": "detection",
29
- "path": "models/Pan_Card.pt",
30
- "classes": [
31
- "PAN",
32
- "Name",
33
- "Father's Name",
34
- "DOB",
35
- "Pan Card"
36
- ]
37
- },
38
- "Passport": {
39
- "type": "detection",
40
- "path": "models/Passport.pt",
41
- "classes": [
42
- "Address",
43
- "Code",
44
- "DOB",
45
- "DOI",
46
- "EXP",
47
- "Gender",
48
- "MRZ1",
49
- "MRZ2",
50
- "Name",
51
- "Nationality",
52
- "Nation",
53
- "POI"
54
- ]
55
- },
56
- "Voter_Id": {
57
- "type": "detection",
58
- "path": "models/Voter_Id.pt",
59
- "classes": [
60
- "Address",
61
- "Age",
62
- "DOB",
63
- "Card Voter ID 1 Back",
64
- "Card Voter ID 2 Front",
65
- "Card Voter ID 2 Back",
66
- "Card Voter ID 1 Front",
67
- "Date of Issue",
68
- "Election",
69
- "Father",
70
- "Gender",
71
- "Name",
72
- "Point",
73
- "Portrait",
74
- "Symbol",
75
- "Voter ID"
76
- ]
77
- },
78
- "Driving_License": {
79
- "type": "detection",
80
- "path": "models/Driving_License.pt",
81
- "classes": [
82
- "Address",
83
- "Blood Group",
84
- "DL No",
85
- "DOB",
86
- "Name",
87
- "Relation With",
88
- "RTO",
89
- "State",
90
- "Vehicle Type"
91
- ]
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
  }
 
1
  {
2
+ "models": {
3
+ "Id_Classifier": {
4
+ "type": "classification",
5
+ "path": "models/Id_Classifier.pt",
6
+ "classes": [
7
+ "aadhar_front",
8
+ "pan_card_front",
9
+ "passport",
10
+ "voter_id",
11
+ "driving_license_front"
12
+ ]
13
+ },
14
+ "Aadhaar": {
15
+ "type": "detection",
16
+ "path": "models/Aadhaar_Card.pt",
17
+ "classes": [
18
+ "Aadhaar",
19
+ "DOB",
20
+ "Gender",
21
+ "Name",
22
+ "Address"
23
+ ]
24
+ },
25
+ "Pan_Card": {
26
+ "type": "detection",
27
+ "path": "models/Pan_Card.pt",
28
+ "classes": [
29
+ "PAN",
30
+ "Name",
31
+ "Father's Name",
32
+ "DOB",
33
+ "Pan Card"
34
+ ]
35
+ },
36
+ "Passport": {
37
+ "type": "detection",
38
+ "path": "models/Passport.pt",
39
+ "classes": [
40
+ "Address",
41
+ "Code",
42
+ "DOB",
43
+ "DOI",
44
+ "EXP",
45
+ "Gender",
46
+ "MRZ1",
47
+ "MRZ2",
48
+ "Name",
49
+ "Nation",
50
+ "Nationality",
51
+ "POI"
52
+ ]
53
+ },
54
+ "Voter_Id": {
55
+ "type": "detection",
56
+ "path": "models/Voter_Id.pt",
57
+ "classes": [
58
+ "Voter_Id",
59
+ "Name",
60
+ "Father's Name",
61
+ "DOB",
62
+ "Gender",
63
+ "Address"
64
+ ]
65
+ },
66
+ "Driving_License": {
67
+ "type": "detection",
68
+ "path": "models/Driving_License.pt",
69
+ "classes": [
70
+ "DL",
71
+ "Name",
72
+ "DOB",
73
+ "DOI",
74
+ "EXP",
75
+ "Address"
76
+ ]
77
+ }
78
  },
79
+ "doc_type_to_model": {
80
+ "aadhar_front": "Aadhaar",
81
+ "pan_card_front": "Pan_Card",
82
+ "passport": "Passport",
83
+ "voter_id": "Voter_Id",
84
+ "driving_license_front": "Driving_License"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  }
 
 
 
 
 
 
 
 
 
 
86
  }