delete translate_image function
@@ -80,11 +80,6 @@ def run_inference(img):
return result, fps
-def translate_image(img, width, height):
- resized_img = cv2.resize(img, (width, height), interpolation=cv2.INTER_LINEAR)
- return cv2.cvtColor(resized_img, cv2.COLOR_BGR2RGB)
-
-
def clear_queue(queue):
while not queue.empty():
queue.get()
