README and Docs updates (#166)

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Ayush Chaurasia 2023-01-10 00:00:42 +05:30 committed by GitHub
parent 5e290e0d28
commit cb4801888e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 311 additions and 66 deletions

View file

@ -35,7 +35,7 @@ This is the simplest way of simply using yolo models in a python environment. It
model = YOLO("model.pt")
model.predict(source="0") # accepts all formats - img/folder/vid.*(mp4/format). 0 for webcam
model.predict(source="folder", view_img=True) # Display preds. Accepts all yolo predict arguments
model.predict(source="folder", show=True) # Display preds. Accepts all yolo predict arguments
```