This commit is contained in:
Glenn Jocher 2019-02-11 14:11:24 +01:00
parent 5d76ebcc5b
commit d85eafe550
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,7 @@ HS**V** Intensity | +/- 50%
# Inference
## Images
Run `detect.py` to apply trained weights to an image and visualize results, such as `zidane.jpg` from the `data/samples` folder, shown here.
**YOLOv3:** `detect.py --cfg cfg/yolov3.cfg --weights weights/yolov3.pt`
@ -53,6 +54,10 @@ Run `detect.py` to apply trained weights to an image and visualize results, such
**YOLOv3-tiny:** `detect.py --cfg cfg/yolov3-tiny.cfg --weights weights/yolov3-tiny.pt`
<img src="https://user-images.githubusercontent.com/26833433/50374155-21427380-05ea-11e9-8d24-f1a4b2bac1ad.jpg" width="800">
## Webcam
Run `detect.py` with `webcam=True` to show a live webcam feed.
# Pretrained Weights
Download official YOLOv3 weights: