当前位置:网站首页>Yolov5 5.0调用本地摄像头
Yolov5 5.0调用本地摄像头
2022-04-21 06:56:00 【9677】
直接在命令上用–source 0调用摄像头会报错

找到文件夹utils下的datasets.py
找到279行,把url加上str()
没改之前

改之后

至于退出要按ctrl +c,在prompt里输入。
然后执行命令
python detect.py --source 0 --weights runs/train/base3/weights/best.pt --conf 0.4
版权声明
本文为[9677]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_45800887/article/details/124247212
边栏推荐
- PHP determines whether it is the same month
- PostgreSQL 15 即将支持SQL 标准中的 MERGE 语句
- Oracle SQL script record
- Why is the primary key matching setting in MySQL showing that I am wrong?
- Oracle-SQL脚本记录
- Flutter environment construction and other foundations
- V-has permission control based on jeecgboot
- PHP base64 encryption
- MongoDB 实验——数据备份和恢复和数据库优化
- Renesas ide: development environment configuration during bootloader upgrade of CS + for CC
猜你喜欢

343. 求分解整数的乘积最大化Integer Break

kubesphere3. 0 forgot admin password

Understanding of data warehouse ODS, DW and DM concepts in data governance platform

Advanced C language pointer (1. First and second order pointers)

Hackmyvm综合靶机 | Driftingblues-9(完结)

Shortcut keys for batch modification of variable name and batch replacement code in idea

C语言指针进阶(1.一阶与二阶指针)

STM32系统和自定义bootloader的实现和应用

Golang learning resource list

Record the problems and solutions encountered in using fastjson message converter
随机推荐
Signals
Why is the primary key matching setting in MySQL showing that I am wrong?
Oracle SQL script record
Testing and Benchmarking
Server deployment SVN environment
Assembly language -- Method of memory location
C语言指针进阶(1.一阶与二阶指针)
Introduction to btstack 1.0 of Bluetooth open source protocol stack
Self made webserver from scratch (XV) -- the log base part is completed, and the practical widget double-buffering optimizes the asynchronous write performance
Div Click to collapse
IDEA 批量修改变量名、批量替换代码快捷键
SQL command of Oracle management
Solution to red flag with @ Autowired annotation in idea
IDEA 使用@Autowired注解报红的解决办法
Hackmyvm integrated target | driftingblues-9 (end)
【第31题】创造两只完全相同的宠物
迅为i.MX6Q开发板Openwrt 文件系统构建
记录使用fastjson消息转换器遇到的问题和解决方法
Laravel print SQL
SHA256 Hashes