testmail-gmail commited on
Commit
9d6d697
·
1 Parent(s): 004a7b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -151,6 +151,7 @@ def detect_Custom(img,model,boundedImage):
151
  vid_writer = cv2.VideoWriter(save_path, cv2.VideoWriter_fourcc(*'mp4v'), fps, (w, h))
152
  vid_writer.write(im0)
153
 
 
154
  images = [keras_ocr.tools.read(img) for img in [boundedImage]]
155
  prediction_groups = pipeline.recognize(images)
156
  first=prediction_groups[0]
 
151
  vid_writer = cv2.VideoWriter(save_path, cv2.VideoWriter_fourcc(*'mp4v'), fps, (w, h))
152
  vid_writer.write(im0)
153
 
154
+ output_text = ''
155
  images = [keras_ocr.tools.read(img) for img in [boundedImage]]
156
  prediction_groups = pipeline.recognize(images)
157
  first=prediction_groups[0]