-
由 Glenn Jocher 提交于
* Fix detect.py URL inference Allows detect.py to run inference on remote URL sources, i.e.: ```python !python detect.py --weights yolov5s.pt --source https://ultralytics.com/assets/zidane.jpg # image URL !python detect.py --weights yolov5s.pt --source https://ultralytics.com/assets/decelera_landscape.mov # video URL ``` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ciCo-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>