This commit is contained in:
freddyaboulton
2024-10-11 13:03:40 -07:00
parent 23b1e20c05
commit 3ea02dec1f

View File

@@ -54,7 +54,6 @@ else:
def detection(image, conf_threshold=0.3):
print("running detection")
image = cv2.resize(image, (model.input_width, model.input_height))
new_image = model.detect_objects(image, conf_threshold)
return cv2.resize(new_image, (500, 500))