Update README.md
Browse files
README.md
CHANGED
|
@@ -6,10 +6,12 @@ Detects the webcam / streamer in settings like zoom, twitch streaming, etc.
|
|
| 6 |
|
| 7 |
Usage:
|
| 8 |
|
|
|
|
| 9 |
pip install ultralytics
|
| 10 |
|
| 11 |
from ultralytics import YOLO
|
| 12 |
|
| 13 |
model = YOLO("/path/to/best.pt") # best.pt is the model weights
|
| 14 |
results = model.predict(source="input.jpg", conf=0.3, imgsz=640, device=0, save=True)
|
| 15 |
-
# Annotated output is saved under runs/detect/predict
|
|
|
|
|
|
| 6 |
|
| 7 |
Usage:
|
| 8 |
|
| 9 |
+
```
|
| 10 |
pip install ultralytics
|
| 11 |
|
| 12 |
from ultralytics import YOLO
|
| 13 |
|
| 14 |
model = YOLO("/path/to/best.pt") # best.pt is 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 |
+
```
|