Update README.md
Browse files
README.md
CHANGED
|
@@ -14,4 +14,8 @@ from ultralytics import YOLO
|
|
| 14 |
model = YOLO("/path/to/best.pt") # best.pt contains the model weights
|
| 15 |
results = model.predict(source="input.jpg", conf=0.3, imgsz=640, device=0, save=True)
|
| 16 |
# Annotated output is saved under runs/detect/predict
|
| 17 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
model = YOLO("/path/to/best.pt") # best.pt contains the model weights
|
| 15 |
results = model.predict(source="input.jpg", conf=0.3, imgsz=640, device=0, save=True)
|
| 16 |
# Annotated output is saved under runs/detect/predict
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
Example on a few images:
|
| 21 |
+

|