HuggingFace-SK commited on
Commit
19a3d36
·
1 Parent(s): 6224ce2

show output, not cv2 images

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -35,10 +35,10 @@ def analyse():
35
  results_array.append(f"Detected text: {text} (Confidence: {prob})")
36
 
37
  # Iterate through the results and format them
38
- cv2.imshow("clahe", equalized)
39
- cv2.imshow("blur", blur)
40
- cv2.imshow("orig", gray_image)
41
- cv2.waitKey(0)
42
 
43
  return str(results_array)
44
 
 
35
  results_array.append(f"Detected text: {text} (Confidence: {prob})")
36
 
37
  # Iterate through the results and format them
38
+ #cv2.imshow("clahe", equalized)
39
+ #cv2.imshow("blur", blur)
40
+ #cv2.imshow("orig", gray_image)
41
+ #cv2.waitKey(0)
42
 
43
  return str(results_array)
44