Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,9 @@ def execute_text_recognition_tflite( boxes, frame, interpreter, input_details, o
|
|
96 |
license_plate = text
|
97 |
text[:3].replace("0",'O')
|
98 |
|
99 |
-
|
|
|
|
|
100 |
|
101 |
return text,cv2.resize(save_frame,(94,24))
|
102 |
|
|
|
96 |
license_plate = text
|
97 |
text[:3].replace("0",'O')
|
98 |
|
99 |
+
textc = convdigplate(text)
|
100 |
+
|
101 |
+
text = textc+" ( "+text+" ) "
|
102 |
|
103 |
return text,cv2.resize(save_frame,(94,24))
|
104 |
|