Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def greet(image):
|
|
62 |
text = None
|
63 |
# For index and confidence value of the first class [0]
|
64 |
for i, confidence in enumerate(output_data[0]):
|
65 |
-
if confidence > .
|
66 |
text, crop = execute_text_recognition_tflite(
|
67 |
boxes[0][i], image,
|
68 |
recog_interpreter, recog_input_details, recog_output_details,
|
|
|
62 |
text = None
|
63 |
# For index and confidence value of the first class [0]
|
64 |
for i, confidence in enumerate(output_data[0]):
|
65 |
+
if confidence > .3:
|
66 |
text, crop = execute_text_recognition_tflite(
|
67 |
boxes[0][i], image,
|
68 |
recog_interpreter, recog_input_details, recog_output_details,
|