Ramzan0553 commited on
Commit
6b94d5d
·
verified ·
1 Parent(s): 5d0d58d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[:50]: # Limit to top 20 boxes
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