当前位置:网站首页>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 .
边栏推荐
- Code writing and playing method of tonybot humanoid robot at fixed distance
- Zhejiang University Edition "C language programming (4th Edition)" topic set reference ideas set
- Rasterization: a practical implementation (2)
- [combinatorics] permutation and combination (set combination, one-to-one correspondence model analysis example)
- 牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
- 2022/02/14
- C language memory function
- Vs+qt multithreading implementation -- run and movetothread
- Implement Gobang with C language
- Qt—绘制其他东西
猜你喜欢
随机推荐
Zzuli:1040 sum of sequence 1
Niuke: crossing the river
[ue4] geometry drawing pipeline
C language dup2 function
Zhejiang University Edition "C language programming (4th Edition)" topic set reference ideas set
Luogu p3065 [usaco12dec]first! G problem solution
5-1 blocking / non blocking, synchronous / asynchronous
亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?
Introduction to opengl4.0 tutorial computing shaders
B2020 points candy
The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
关于敏捷的一些概念
C # realizes the login interface, and the password asterisk is displayed (hide the input password)
[graphics] hair simulation in tressfx
2021-10-16 initial programming
On MEM series functions of C language
Write a 2-minute countdown.
Zzuli:1049 square sum and cubic sum
Luogu p4047 [jsoi2010] tribal division solution
Amazon, express, lazada, shopee, eBay, wish, Wal Mart, Alibaba international, meikeduo and other cross-border e-commerce platforms evaluate how Ziyang account can seize traffic by using products in th









