一、运行
1.视频
修改detect文件219行。default=ROOT / 'data/images/3.mp4'
2.调用摄像头
修改detect文件219行
parser.add_argument('--source', type=str, default='0', help='file/dir/URL/glob, 0 for webcam')
3.图片
修改detect文件219行。default=ROOT / 'data/images/3.jpg'
二、库
Package Version文章来源:https://www.toymoban.com/news/detail-416598.html
absl-py 1.3.0
alabaster 0.7.12
applaunchservices 0.2.1
appnope 0.1.2
arrow 1.2.3
astroid 2.11.7
atomicwrites 1.4.0
attrs 22.1.0
autopep8 1.6.0
Babel 2.9.1
backcall 0.2.0
beautifulsoup4 4.11.1
binaryornot 0.4.4
black 22.6.0
bleach 4.1.0
brotlipy 0.7.0
cachetools 5.2.0
certifi 2022.9.24
cffi 1.15.1
chardet 4.0.0
charset-normalizer 2.0.4
click 8.0.4
cloudpickle 2.0.0
colorama 0.4.5
cookiecutter 1.7.3
cryptography 38.0.1
cycler 0.11.0
debugpy 1.5.1
decorator 5.1.1
defusedxml 0.7.1
diff-match-patch 20200713
dill 0.3.6
docutils 0.18.1
entrypoints 0.4
fastjsonschema 2.16.2
flake8 4.0.1
flit_core 3.6.0
fonttools 4.38.0
future 0.18.2
gitdb 4.0.10
GitPython 3.1.29
google-auth 2.15.0
google-auth-oauthlib 0.4.6
grpcio 1.51.1
idna 3.4
imagesize 1.4.1
importlib-metadata 4.11.3
importlib-resources 5.2.0
inflection 0.5.1
intervaltree 3.1.0
ipykernel 5.3.4
ipython 7.22.0
ipython-genutils 0.2.0
isort 5.9.3
jedi 0.18.2
jellyfish 0.9.0
Jinja2 3.1.2
jinja2-time 0.2.0
jsonschema 4.16.0
jupyter_client 7.4.7
jupyter_core 4.11.2
jupyterlab-pygments 0.1.2
keyring 23.4.0
kiwisolver 1.4.4
lazy-object-proxy 1.6.0
lxml 4.9.1
Markdown 3.4.1
MarkupSafe 2.1.1
matplotlib 3.5.3
matplotlib-inline 0.1.6
mccabe 0.6.1
mistune 0.8.4
mypy-extensions 0.4.3
nbclient 0.5.13
nbconvert 6.5.4
nbformat 5.5.0
nest-asyncio 1.5.5
numpy 1.21.6
numpydoc 1.5.0
oauthlib 3.2.2
opencv-python 4.6.0.66
packaging 21.3
pandas 1.3.5
pandocfilters 1.5.0
parso 0.8.3
pathspec 0.9.0
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.3.0
pip 22.2.2
pkgutil_resolve_name 1.3.10
platformdirs 2.5.2
pluggy 1.0.0
ply 3.11
poyo 0.5.0
prompt-toolkit 3.0.20
protobuf 3.20.3
psutil 5.9.0
ptyprocess 0.7.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycocotools 2.0.6
pycodestyle 2.8.0
pycparser 2.21
pydocstyle 6.1.1
pyflakes 2.4.0
Pygments 2.11.2
pylint 2.14.5
Pympler 0.9
pyOpenSSL 22.0.0
pyparsing 3.0.9
PyQt5-sip 12.11.0
pyrsistent 0.18.0
PySocks 1.7.1
python-dateutil 2.8.2
python-jsonrpc-server 0.3.4
python-language-server 0.31.9
python-slugify 5.0.2
pytz 2022.1
PyYAML 6.0
pyzmq 23.2.0
QDarkStyle 3.0.2
qstylizer 0.1.10
QtAwesome 1.0.3
qtconsole 5.2.2
QtPy 2.2.0
requests 2.28.1
requests-oauthlib 1.3.1
rope 0.22.0
rsa 4.9
Rtree 0.9.7
scipy 1.4.1
seaborn 0.12.1
setuptools 65.5.0
six 1.16.0
smmap 5.0.0
snowballstemmer 2.2.0
sortedcontainers 2.4.0
soupsieve 2.3.2.post1
Sphinx 5.0.2
sphinxcontrib-applehelp 1.0.2
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.5
spyder 4.0.0
spyder-kernels 1.8.1
tensorboard 2.11.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
text-unidecode 1.3
textdistance 4.2.1
thop 0.1.1.post2209072238
three-merge 0.1.1
tinycss 0.4
tinycss2 1.2.1
toml 0.10.2
tomli 2.0.1
tomlkit 0.11.1
torch 1.13.0
torchvision 0.14.0
tornado 6.2
tqdm 4.64.1
traitlets 5.1.1
typed-ast 1.4.3
typing_extensions 4.4.0
ujson 1.35
Unidecode 1.2.0
urllib3 1.26.12
watchdog 2.1.6
wcwidth 0.2.5
webencodings 0.5.1
Werkzeug 2.2.2
wheel 0.37.1
wrapt 1.14.1
wurlitzer 3.0.2
yapf 0.31.0
zipp 3.8.0文章来源地址https://www.toymoban.com/news/detail-416598.html
到了这里,关于yolo v5代码运行图片、调用摄像头、视频的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!