leakyrelu commited on
Commit
19cb2bd
·
1 Parent(s): 23ccde6

add crop fixes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def execute_text_recognition_tflite( boxes, frame, interpreter, input_details, o
42
  license_plate = text
43
  text[:3].replace("0",'O')
44
 
45
- return text,cv2.resize(save_frame,(94.42))
46
 
47
  def greet(image):
48
  resized = cv2.resize(image, (320,320), interpolation=cv2.INTER_AREA)
 
42
  license_plate = text
43
  text[:3].replace("0",'O')
44
 
45
+ return text,cv2.resize(save_frame,(94,24))
46
 
47
  def greet(image):
48
  resized = cv2.resize(image, (320,320), interpolation=cv2.INTER_AREA)