We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e0f123 commit 3f41abcCopy full SHA for 3f41abc
inference_real.py
@@ -0,0 +1,7 @@
1
+from ultralytics import YOLO
2
+import cv2
3
+
4
+path_to_model="last.pt"
5
+model = YOLO(path_to_model)
6
+results=model.predict(source="0",show=True,iou=0.2,conf=0.6, device="cuda")
7
+print("hello")
0 commit comments