当前位置:网站首页>Pedestrian fall detection experiment based on YOLOV5
Pedestrian fall detection experiment based on YOLOV5
2022-08-04 19:02:00 【InfoQ】
1. Experimental environment
The experimental environment is based on hardware information for Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (3401 MHz), the memory is 8 G, the system is Microsoft Windows 10 Professional Education Edition (64-bit), the graphics card is NVIDIA GeForce RTX 2060 SUPER (8192MB), and pytorch+cuda+cudnn is used for model training and prediction.
2. Pedestrian target detection
The first step of fall detection, the function of target detection is to detect people from complex scenes,The detection accuracy also has a great influence on the subsequent fall discrimination. The network structure of the YOLOv5 model used in this article is YOLOv5s. Although the accuracy is not very high, the training speed is very fast.The initial training dataset of YOLOv5 is the COCO dataset. The COCO dataset is a large-scale object detection, segmentation and captioning dataset, and it is also the most widely publicized object detection database.The dataset has a total of more than 330,000 images, of which 200,000 are annotated, and the number of individuals exceeds 1.5 million.This dataset is mainly intercepted from complex daily scenes, and there are 80 categories provided, of which person is a class in the COCO dataset.Using the initial training weights trained on the COCO dataset using YOLOv5, experiments were performed on the COCO128 dataset, and the final model performance reached 0.76 [email protected] IOU on the COCO128 dataset.When testing the self-built data set, the detection performance of YOLOv5 is [email protected] IOU, and the accuracy has dropped a lot. The main reason is also mentioned in this article. The COCO data set contains fewer pictures of the human body, especially lying down.When using the YOLOv5 model to train the COCO dataset, the model can better identify the standing human body in the image, but when detecting the lying person, it is easy to detectLoss, in the subsequent target tracking, the accuracy will also decrease due to the loss of the human target.This is a fatal problem, so it is not possible to directly pre-train the weights of YOLOv5 on the COCO dataset. Instead, it is necessary to collect datasets containing more human poses and adjust the corresponding training parameters to obtain better detection results. Manual annotation, and then put the pictures and standards into the code in turn according to the format of the COCO dataset, and use the weights already trained by COCO to initialize, still use the YOLOv5s network structure for training, and the performance of the final model has risen to 0.67 [email protected] IOU, it can also identify the human body lying on the ground that was difficult to detect before.

边栏推荐
猜你喜欢
随机推荐
EuROC 数据集格式及相关代码
12. SAP ABAP OData 服务如何支持 $select 有选择性地仅读取部分模型字段值
一些性能测试的要点
win10 uwp MetroLog 入门
PHP代码审计8—SSRF 漏洞
win10 uwp ping
Scala105-Spark.sql中collect_list用法
关于使用腾讯云HiFlow场景连接器每天提醒签到打卡
SOA面向服务架构:服务、服务实例、ARXML、服务接口调用以及各参与方
【简答题】月薪4k和月薪8k的区别就在这里
ATF中断处理的设计模型
如何进行自动化测试?
动态数组底层是如何实现的
切换node版本和切换npm源工具
正畸MIA微种植体支抗技术中国10周年交流会在沈举办
VPC2187/8 电流模式 PWM 控制器 4-100VIN 超宽压启动、高度集成电源控制芯片推荐
Those things about the curl command
EuROC dataset format and related codes
使用.NET简单实现一个Redis的高性能克隆版(二)
如何让 JS 代码不可断点









