fix bugs + release version 0.0.4

This commit is contained in:
freddyaboulton
2024-10-11 14:57:20 -07:00
parent 185c52e236
commit d52a21449a
7 changed files with 188 additions and 3 deletions

View File

@@ -69,7 +69,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))