当前位置:网站首页>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 .
边栏推荐
- NOI OPENJUDGE 1.5(23)
- [ue4] HISM large scale vegetation rendering solution
- How does vs+qt set the software version copyright, obtain the software version and display the version number?
- Zzuli: sum of 1051 square roots
- Devaxpress: range selection control rangecontrol uses
- 5.2-5.3
- adc128s022 ADC verilog设计实现
- Paper sharing: generating playful palettes from images
- C language dup2 function
- tonybot 人形機器人 紅外遙控玩法 0630
猜你喜欢
Tonybot Humanoïde Robot Infrared Remote play 0630
Vs+qt application development, set software icon icon
Qt development - scrolling digital selector commonly used in embedded system
PS tips - draw green earth with a brush
5.4-5.5
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?
pyQt界面制作(登录+跳转页面)
4-20-4-23 concurrent server, TCP state transition;
Qt—绘制其他东西
Introduction to opengl4.0 tutorial computing shaders
随机推荐
4-24--4-28
Paper sharing: generating playful palettes from images
Tencent internship interview sorting
Zzuli: sum of 1051 square roots
tonybot 人形机器人 红外遥控玩法 0630
Zzuli:1045 numerical statistics
C language to realize mine sweeping
Zzuli:1043 max
[ue4] cascading shadow CSM
[ue4] Niagara's indirect draw
5.4-5.5
光猫超级账号密码、宽带账号密码 获取
[opengl] face pinching system
[combinatorics] permutation and combination (set combination, one-to-one correspondence model analysis example)
Puzzle (016.3) is inextricably linked
Zzuli:1041 sum of sequence 2
Niuke bm83 string deformation (case conversion, string inversion, string replacement)
ASTC texture compression (adaptive scalable texture compression)
Zzuli:1048 factorial table
C # realizes the login interface, and the password asterisk is displayed (hide the input password)