deleted main
Browse files- dino_sam.py +4 -4
dino_sam.py
CHANGED
@@ -214,7 +214,7 @@ def plot_sam(
|
|
214 |
image = cv2.addWeighted(image, 1, mask, 0.5, 0)
|
215 |
return image
|
216 |
|
217 |
-
if __name__ == '__main__':
|
218 |
-
|
219 |
-
|
220 |
-
|
|
|
214 |
image = cv2.addWeighted(image, 1, mask, 0.5, 0)
|
215 |
return image
|
216 |
|
217 |
+
# if __name__ == '__main__':
|
218 |
+
# start_time = datetime.datetime.now()
|
219 |
+
# sam_dino_vid("baboon_15s.mp4", "baboon", box_threshold=0.3, text_threshold=0.3, fps_processed=30, video_options=['Bounding boxes', 'Masks'])
|
220 |
+
# print("elapsed: " + str(datetime.datetime.now() - start_time))
|