Spaces:
Sleeping
Sleeping
Samariddin Kushmuratov
commited on
Commit
·
5029f8d
1
Parent(s):
b0fe78c
added
Browse files- assets/result_imgs/00000.jpg +0 -0
- assets/result_imgs/00001.jpg +0 -0
- assets/result_imgs/00004.jpg +0 -0
- assets/result_imgs/00007.jpg +0 -0
- assets/result_imgs/00008.jpg +0 -0
- assets/result_imgs/00009.jpg +0 -0
- assets/result_imgs/00011.jpg +0 -0
- assets/result_imgs/00013.jpg +0 -0
- assets/result_imgs/00014.jpg +0 -0
- assets/result_imgs/00015.jpg +0 -0
- assets/result_imgs/00016.jpg +0 -0
- assets/result_imgs/00017.jpg +0 -0
- assets/result_imgs/00018.jpg +0 -0
- assets/result_imgs/00019.jpg +0 -0
- assets/result_imgs/00020.jpg +0 -0
- assets/result_imgs/00021.jpg +0 -0
- assets/result_imgs/00022.jpg +0 -0
- assets/result_imgs/00023.jpg +0 -0
- assets/result_imgs/00024.jpg +0 -0
- assets/result_imgs/00025.jpg +0 -0
- assets/result_imgs/00026.jpg +0 -0
- assets/result_imgs/00033.jpg +0 -0
- assets/result_imgs/00036.jpg +0 -0
- assets/result_imgs/license_plate_info.csv +1 -0
- scripts/alpr/license_plate_recognizer.py +12 -12
assets/result_imgs/00000.jpg
DELETED
Binary file (254 kB)
|
|
assets/result_imgs/00001.jpg
DELETED
Binary file (253 kB)
|
|
assets/result_imgs/00004.jpg
DELETED
Binary file (253 kB)
|
|
assets/result_imgs/00007.jpg
DELETED
Binary file (251 kB)
|
|
assets/result_imgs/00008.jpg
DELETED
Binary file (251 kB)
|
|
assets/result_imgs/00009.jpg
DELETED
Binary file (250 kB)
|
|
assets/result_imgs/00011.jpg
DELETED
Binary file (250 kB)
|
|
assets/result_imgs/00013.jpg
DELETED
Binary file (249 kB)
|
|
assets/result_imgs/00014.jpg
DELETED
Binary file (250 kB)
|
|
assets/result_imgs/00015.jpg
DELETED
Binary file (248 kB)
|
|
assets/result_imgs/00016.jpg
DELETED
Binary file (247 kB)
|
|
assets/result_imgs/00017.jpg
DELETED
Binary file (246 kB)
|
|
assets/result_imgs/00018.jpg
DELETED
Binary file (247 kB)
|
|
assets/result_imgs/00019.jpg
DELETED
Binary file (246 kB)
|
|
assets/result_imgs/00020.jpg
DELETED
Binary file (246 kB)
|
|
assets/result_imgs/00021.jpg
DELETED
Binary file (245 kB)
|
|
assets/result_imgs/00022.jpg
DELETED
Binary file (247 kB)
|
|
assets/result_imgs/00023.jpg
DELETED
Binary file (246 kB)
|
|
assets/result_imgs/00024.jpg
DELETED
Binary file (246 kB)
|
|
assets/result_imgs/00025.jpg
DELETED
Binary file (246 kB)
|
|
assets/result_imgs/00026.jpg
DELETED
Binary file (245 kB)
|
|
assets/result_imgs/00033.jpg
DELETED
Binary file (242 kB)
|
|
assets/result_imgs/00036.jpg
DELETED
Binary file (241 kB)
|
|
assets/result_imgs/license_plate_info.csv
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Image Name,License Plate Number(s),Confidence Score,Number of Cars,Number of License Plates
|
scripts/alpr/license_plate_recognizer.py
CHANGED
@@ -197,19 +197,19 @@ class LicensePlateRecognizer:
|
|
197 |
0,
|
198 |
1
|
199 |
)
|
200 |
-
|
201 |
self.check_result("Process", results)
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
self.
|
|
|
213 |
|
214 |
|
215 |
if __name__ == "__main__":
|
|
|
197 |
0,
|
198 |
1
|
199 |
)
|
|
|
200 |
self.check_result("Process", results)
|
201 |
+
if "plates" in self.result_dict:
|
202 |
+
image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
|
203 |
+
image = self.visualize_result(image)
|
204 |
+
image = cv2.resize(image, display_size)
|
205 |
+
if self.is_result_show:
|
206 |
+
cv2.imshow("License Plate Recognition", image)
|
207 |
+
cv2.waitKey(0)
|
208 |
+
cv2.destroyAllWindows()
|
209 |
+
|
210 |
+
# agar save true bolsa rasmni berilgan papkaga saqlash
|
211 |
+
if self.is_save:
|
212 |
+
self.save_result_image(image, image_path)
|
213 |
|
214 |
|
215 |
if __name__ == "__main__":
|