Remove URL support

multisource-docs-fix
Lakshantha Dissanayake 3 months ago
parent 5f7dda76f0
commit 2725fc9372
  1. 4
      docs/en/modes/predict.md
  2. 2
      ultralytics/engine/predictor.py

@ -247,14 +247,14 @@ Below are code examples for using each source type:
=== "txt"
Run inference on a collection of images, URLs, videos and directories listed in a txt file.
Run inference on a collection of images, videos and directories listed in a txt file.
```python
from ultralytics import YOLO
# Load a pretrained YOLOv8n model
model = YOLO("yolov8n.pt")
# Define a path to a txt file with images, URLs, videos and directories
# Define a path to a txt file with images, videos and directories
source = "path/to/file.txt"
# Run inference on the source

@ -8,7 +8,7 @@ Usage - sources:
vid.mp4 # video
screen # screenshot
path/ # directory
list.txt # list of images
list.txt # list of images, videos, directories
list.streams # list of streams
'path/*.jpg' # glob
'https://youtu.be/LNwODJXcvt4' # YouTube

Loading…
Cancel
Save