leakyrelu commited on
Commit
3545902
·
1 Parent(s): be92647

add frame debugging

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def execute_text_recognition_tflite( boxes, frame, interpreter, input_details, o
25
  ]
26
 
27
  # Execute text recognition
28
-
29
  test_image = cv2.resize(save_frame,(94,24))/256
30
  test_image = np.expand_dims(test_image,axis=0)
31
  test_image = test_image.astype(np.float32)
 
25
  ]
26
 
27
  # Execute text recognition
28
+ print(frame.shape)
29
  test_image = cv2.resize(save_frame,(94,24))/256
30
  test_image = np.expand_dims(test_image,axis=0)
31
  test_image = test_image.astype(np.float32)