Spaces:
Running
Running
quickfix
Browse files
app.py
CHANGED
@@ -100,10 +100,6 @@ def read_license_plate(license_plate_crop, ocr_engine='easyocr'):
|
|
100 |
else:
|
101 |
raise ValueError(f"OCR engine '{ocr_engine}' not supported.")
|
102 |
|
103 |
-
return detections_raw, detections_preprocessed
|
104 |
-
else:
|
105 |
-
raise ValueError(f"OCR engine '{ocr_engine}' not supported.")
|
106 |
-
|
107 |
def extract_text(detections):
|
108 |
plate = []
|
109 |
for detection in detections:
|
|
|
100 |
else:
|
101 |
raise ValueError(f"OCR engine '{ocr_engine}' not supported.")
|
102 |
|
|
|
|
|
|
|
|
|
103 |
def extract_text(detections):
|
104 |
plate = []
|
105 |
for detection in detections:
|