当前位置:网站首页>Yolov5 advanced nine target tracking example 1
Yolov5 advanced nine target tracking example 1
2022-07-03 14:53:00 【Parity nonconservative 4.0】
On the basis of the previous , We can make a system to remind people not to wear masks and make statistics .deepsort3.0+ yolov5.0 Download after installation yolov56.0 Training weight file mask_best.pt Two categories face( Without a mask ),mask( Wear a mask ).https://download.csdn.net/download/buaaweibin/85802968
Enter the first yolov5 Folder test yolo Environmental Science
perform
python detect.py --source 0
It can normally detect whether to wear a mask
Get into Yolov5_StrongSORT_OSNet-3.0 Folder . perform
python track.py
Will download the latest pt file ( If not downloaded ), Press Advanced eight to correct , Can be in yolov5 5.0 It runs under . hold mask_best.pt Put it in olov5_StrongSORT_OSNet-3.0 Catalog , Execute in this directory
python track.py --source 0 --yolo_weights yolov5n.pt --show-vid
This only identifies yolo5n pt Of the 0 class That is to say person
–show-vid It's to show . If you need to save the video Finally, add –save-vid
Retest
python track.py --source 0 --yolo_weights mask_best.pt --classes 0 --show-vid
If input 1 Then track those wearing masks , If input 0 Space 1 Wear a mask or not , Specific statistical output 、 Screenshots 、 Sound output is not listed here for the time being , The following examples will further explain .
边栏推荐
- Plane vector addition
- Class part2
- The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
- 提高效率 Or 增加成本,开发人员应如何理解结对编程?
- Tonybot humanoid robot checks the port and corresponds to port 0701
- 5.2-5.3
- Showmebug entered Tencent conference, opening the era of professional technical interview
- 7-3 rental (20 points)
- 7-10 stack of hats (25 points) (C language solution)
- Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial
猜你喜欢
Puzzle (016.4) domino effect
链表有环,快慢指针走3步可以吗
远程服务器后台挂起 nohup
Byte practice surface longitude
Open under vs2019 UI file QT designer flash back problem
Vs+qt multithreading implementation -- run and movetothread
[ue4] Niagara's indirect draw
[graphics] real shading in Unreal Engine 4
Detailed explanation of four modes of distributed transaction (Seata)
Talking about part of data storage in C language
随机推荐
Tonybot humanoid robot checks the port and corresponds to port 0701
Luogu p5194 [usaco05dec]scales s solution
2022/02/14
NOI OPENJUDGE 1.4(15)
Tonybot humanoid robot infrared remote control play 0630
亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?
4-20-4-23 concurrent server, TCP state transition;
Zzuli:1044 failure rate
Joomla! CMS 3.0~3.4.6 RCE
cpu飙升排查方法
Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial
Chapter 14 class part 1
Zzuli:1047 logarithmic table
牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
C language to realize mine sweeping
创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03
Zzuli:1042 sum of sequence 3
Qt—绘制其他东西
406. 根据身高重建队列
556. The next larger element III: simple construction simulation questions