Spaces:
Runtime error
Runtime error
add frame debugging
Browse files
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)
|