Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def AnnotatedTextDetection_EasyOCR_from_array(img):
|
|
52 |
results = reader.readtext(img)
|
53 |
annotated_results = []
|
54 |
|
55 |
-
for (bbox, text, conf) in results
|
56 |
if conf < 0.3 or text.strip() == "":
|
57 |
continue
|
58 |
|
|
|
52 |
results = reader.readtext(img)
|
53 |
annotated_results = []
|
54 |
|
55 |
+
for (bbox, text, conf) in results:
|
56 |
if conf < 0.3 or text.strip() == "":
|
57 |
continue
|
58 |
|