Journal of Graphics ›› 2023, Vol. 44 ›› Issue (1): 26-32.DOI: 10.11996/JG.j.2095-302X.2023010026
• Image Processing and Computer Vision • Previous Articles Next Articles
PI Jun(), LIU Yu-heng, LI Jiu-hao
Received:
2022-06-18
Revised:
2022-09-02
Online:
2023-10-31
Published:
2023-02-16
About author:
PI Jun (1973-), associate professor, Ph.D. His main research interests cover image recognition and artificial intelligence. E-mail:jpi@cauc.edu.cn
CLC Number:
PI Jun, LIU Yu-heng, LI Jiu-hao. Research on lightweight forest fire detection algorithm based on YOLOv5s[J]. Journal of Graphics, 2023, 44(1): 26-32.
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.txxb.com.cn/EN/10.11996/JG.j.2095-302X.2023010026
Model summary | Layers | Parameters | Gradients | GFLOPS |
---|---|---|---|---|
CSPDarknet | 272 | 7 233 211 | 7 233 211 | 16.4 |
Shuffnetv2 | 224 | 3 608 302 | 3 608 302 | 8.1 |
Table 1 Comparison of parameter quantity
Model summary | Layers | Parameters | Gradients | GFLOPS |
---|---|---|---|---|
CSPDarknet | 272 | 7 233 211 | 7 233 211 | 16.4 |
Shuffnetv2 | 224 | 3 608 302 | 3 608 302 | 8.1 |
Number | Shuffle (Backbone) | CIOU_Loss | SPPF | CA | Precison | Recall | AP |
---|---|---|---|---|---|---|---|
1 | √ | - | - | - | 0.890 | 0.924 | 0.935 |
2 | √ | √ | - | - | 0.908 | 0.889 | 0.936 |
3 | √ | - | √ | - | 0.907 | 0.880 | 0.929 |
4 | √ | - | - | √ | 0.920 | 0.911 | 0.931 |
5 | √ | √ | √ | - | 0.927 | 0.912 | 0.945 |
6 | - | √ | √ | - | 0.912 | 0.921 | 0.911 |
7 | - | √ | - | √ | 0.932 | 0.919 | 0.942 |
8 | - | √ | √ | √ | 0.936 | 0.932 | 0.950 |
9 | - | - | √ | √ | 0.922 | 0.928 | 0.949 |
Ours | √ | √ | √ | √ | 0.941 | 0.929 | 0.960 |
Table 2 Ablation experiments
Number | Shuffle (Backbone) | CIOU_Loss | SPPF | CA | Precison | Recall | AP |
---|---|---|---|---|---|---|---|
1 | √ | - | - | - | 0.890 | 0.924 | 0.935 |
2 | √ | √ | - | - | 0.908 | 0.889 | 0.936 |
3 | √ | - | √ | - | 0.907 | 0.880 | 0.929 |
4 | √ | - | - | √ | 0.920 | 0.911 | 0.931 |
5 | √ | √ | √ | - | 0.927 | 0.912 | 0.945 |
6 | - | √ | √ | - | 0.912 | 0.921 | 0.911 |
7 | - | √ | - | √ | 0.932 | 0.919 | 0.942 |
8 | - | √ | √ | √ | 0.936 | 0.932 | 0.950 |
9 | - | - | √ | √ | 0.922 | 0.928 | 0.949 |
Ours | √ | √ | √ | √ | 0.941 | 0.929 | 0.960 |
配置 | 系统 | 开发环境 | CPU | GPU | RAM | CSI摄像头 |
---|---|---|---|---|---|---|
细节 | Ubuntu18.04 | Python=3.7,C++, JAVA,CMake,OpenCV-4.0 | 6核NVIDA CarmelARM 6MBL2+4MBL3 | 384核 NVIDIA Volta | 8 GB 128位LPDDR4x5 1.2 GB/s | 12通道MIPI CSI-2DHY 1.2 |
Table 3 The specific configuration of NVIDIA Jetson Xavier NX
配置 | 系统 | 开发环境 | CPU | GPU | RAM | CSI摄像头 |
---|---|---|---|---|---|---|
细节 | Ubuntu18.04 | Python=3.7,C++, JAVA,CMake,OpenCV-4.0 | 6核NVIDA CarmelARM 6MBL2+4MBL3 | 384核 NVIDIA Volta | 8 GB 128位LPDDR4x5 1.2 GB/s | 12通道MIPI CSI-2DHY 1.2 |
算法 | Backbone | 模型大小(MB) | Precision | Recall | AP | FPS | 检测用时(ms) |
---|---|---|---|---|---|---|---|
YOLOv4 | CSPDarknet53 | 241.2 | 0.859 | 0.758 | 0.852 | 35 | 11.2 |
YOLOv4-tiny | CSPDarknet53-Tiny | 25.3 | 0.869 | 0.792 | 0.843 | 42 | 4.5 |
YOLOv5s | CSPDarknet | 11.5 | 0.923 | 0.909 | 0.944 | 79 | 9.8 |
YOLOv5s-P6 | CSPDarknet | 15.4 | 0.891 | 0.881 | 0.932 | 62 | 10.1 |
YOLOv5s-P7 | CSPDarknet | 15.5 | 0.906 | 0.892 | 0.939 | 65 | 11.3 |
YOLOv5s-Transformer | Transformer | 20.1 | 0.915 | 0.911 | 0.950 | 70 | 9.2 |
SSD | VGGnet | 180.3 | 0.613 | 0.521 | 0.631 | 22 | 60.7 |
Faster-RCNN | Resnet | 212.3 | 0.732 | 0.612 | 0.756 | 28 | 53.1 |
Ours | Shufflenetv2 | 5.1 | 0.926 | 0.920 | 0.953 | 132 | 3.6 |
Table 4 Contrast experiment
算法 | Backbone | 模型大小(MB) | Precision | Recall | AP | FPS | 检测用时(ms) |
---|---|---|---|---|---|---|---|
YOLOv4 | CSPDarknet53 | 241.2 | 0.859 | 0.758 | 0.852 | 35 | 11.2 |
YOLOv4-tiny | CSPDarknet53-Tiny | 25.3 | 0.869 | 0.792 | 0.843 | 42 | 4.5 |
YOLOv5s | CSPDarknet | 11.5 | 0.923 | 0.909 | 0.944 | 79 | 9.8 |
YOLOv5s-P6 | CSPDarknet | 15.4 | 0.891 | 0.881 | 0.932 | 62 | 10.1 |
YOLOv5s-P7 | CSPDarknet | 15.5 | 0.906 | 0.892 | 0.939 | 65 | 11.3 |
YOLOv5s-Transformer | Transformer | 20.1 | 0.915 | 0.911 | 0.950 | 70 | 9.2 |
SSD | VGGnet | 180.3 | 0.613 | 0.521 | 0.631 | 22 | 60.7 |
Faster-RCNN | Resnet | 212.3 | 0.732 | 0.612 | 0.756 | 28 | 53.1 |
Ours | Shufflenetv2 | 5.1 | 0.926 | 0.920 | 0.953 | 132 | 3.6 |
Fig. 7 Experimental renderings ((a) High brightness; (b) Snowy environment; (c) Dark environment; (d) Smoke environment; (e) Low light environment; (f) Original)
[1] | 张彬彬, 帕孜来·马合木提. 基于YOLOv3改进的火焰目标检测算法[J]. 激光与光电子学进展, 2021, 58(24): 289-296. |
ZHANG B B, PAZILAI M H M T. Improved flame target detection algorithm based on YOLOv3[J]. Laser & Optoelectronics Progress, 2021, 58(24): 289-296 (in Chinese). | |
[2] | 缪伟志, 陆兆纳, 王俊龙, 等. 基于视觉的火灾检测研究[J]. 森林工程, 2022, 38(1): 86-92, 100. |
MIAO W Z, LU Z N, WANG J L, et al. Fire detection research based on vision[J]. Forest Engineering, 2022, 38(1): 86-92, 100 (in Chinese). | |
[3] |
DONG X D, YAN S, DUAN C Q. A lightweight vehicles detection network model based on YOLOv5[J]. Engineering Applications of Artificial Intelligence, 2022, 113: 104914.
DOI URL |
[4] |
CHEN Z C, YANG J, CHEN L F, et al. Garbage classification system based on improved ShuffleNet v2[J]. Resources, Conservation and Recycling, 2022, 178: 106090.
DOI URL |
[5] |
KRIZHEVSKY A, SUTSKEVER I, HINTON G E. ImageNet classification with deep convolutional neural networks[J]. Communications of the ACM, 2017, 60(6): 84-90.
DOI URL |
[6] | 刘凯, 魏艳秀, 许京港, 等. 基于计算机视觉的森林火灾识别算法设计[J]. 森林工程, 2018, 34(4): 89-95. |
LIU K, WEI Y X, XU J G, et al. Design of forest fire identification algorithm based on computer vision full text replacement[J]. Forest Engineering, 2018, 34(4): 89-95 (in Chinese). | |
[7] |
LOWE D G. Distinctive image features from scale-invariant keypoints[J]. International Journal of Computer Vision, 2004, 60(2): 91-110.
DOI URL |
[8] | PERRONNIN F, SÁNCHEZ J, MENSINK T. Improving the fisher kernel for large-scale image classification[M]//Computer Vision - ECCV 2010. Cham: Springer International Publishin, 2010: 143-156. |
[9] | SZEGEDY C, LIU W, JIA Y Q, et al. Going deeper with convolutions[C]//2015 IEEE Conference on Computer Vision and Pattern Recognition. New York: IEEE Press, 2015: 1-9. |
[10] | 仲亭玉, 刘文萍, 刘鹏举. 基于分数阶微分视频融合的森林烟火检测算法[J]. 北京林业大学学报, 2017, 39(3): 24-31. |
ZHONG T Y, LIU W P, LIU P J. A forest fire smoke detection algorithm based on fractional-calculus video fusion[J]. Journal of Beijing Forestry University, 2017, 39(3): 24-31 (in Chinese). | |
[11] | LIN T Y, GOYAL P, GIRSHICK R, et al. Focal loss for dense object detection[C]//2017 IEEE International Conference on Computer Vision. New York: IEEE Press, 2017: 2999-3007. |
[12] |
AVAZOV K, MUKHIDDINOV M, MAKHMUDOV F, et al. Fire detection method in smart city environments using a deep-learning-based approach[J]. Electronics, 2021, 11(1): 73.
DOI URL |
[13] | LIU S T, ZHANG N N, YU G. Lightweight security wear detection method based on YOLOv5[EB/OL]. [2022-02-20]. https://dl.acm.org/doi/10.1155/2022/1319029. |
[14] |
KRIZHEVSKY A, SUTSKEVER I, HINTON G E. ImageNet classification with deep convolutional neural networks[J]. Communications of the ACM, 2017, 60(6): 84-90.
DOI URL |
[15] |
KRIZHEVSKY A, SUTSKEVER I, HINTON G E. ImageNet classification with deep convolutional neural networks[J]. Communications of the ACM, 2017, 60(6): 84-90.
DOI URL |
[16] | 张苗, 李璞, 杨漪, 等. 基于目标检测卷积神经网络的图像型火灾探测算法[J]. 消防科学与技术, 2022, 41(6): 807-811. |
ZHANG M, LI P, YANG Y, et al. Image fire detection algorithms based on object detection convolutional neural networks[J]. Fire Science and Technology, 2022, 41(6): 807-811 (in Chinese). | |
[17] | DALAL N, TRIGGS B. Histograms of oriented gradients for human detection[J]. Proceedings of Computer Vision and Pattern Recognition, 2005, 1: 886-893. |
[18] | PERRONNIN F, SÁNCHEZ J, MENSINK T. Improving the fisher kernel for large-scale image classification[M]//Computer Vision - ECCV 2010. Cham: Springer International Publishin, 2010: 143-156. |
[19] | HOU Q B, ZHOU D Q, FENG J S. Coordinate attention for efficient mobile network design[EB/OL]. [2022-01-12]. https://arxiv.org/abs/2103.02907. |
[20] |
HE K M, ZHANG X Y, REN S Q, et al. Spatial pyramid pooling in deep convolutional networks for visual recognition[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2015, 37(9): 1904-1916.
DOI PMID |
[1] | LI Li-xia, WANG Xin, WANG Jun, ZHANG You-yuan. Small object detection algorithm in UAV image based on feature fusion and attention mechanism [J]. Journal of Graphics, 2023, 44(4): 658-666. |
[2] | DENG Wei-ming, YANG Tie-jun, LI Chun-chun, HUANG Lin. Object detection for nameplate based on neural architecture search [J]. Journal of Graphics, 2023, 44(4): 718-727. |
[3] | LUO Wen-yu, FU Ming-yue. On-site monitoring technology of illegal swimming and fishing based on YoloX-ECA [J]. Journal of Graphics, 2023, 44(3): 465-472. |
[4] | WANG Jia-jing, WANG Chen, ZHU Yuan-yuan, WANG Xiao-mei. Graph element detection matching based on Republic of China banknotes [J]. Journal of Graphics, 2023, 44(3): 492-501. |
[5] | CHEN Gang, ZHANG Pei-ji, GONG Dong-dong, YU Jun-qing. Research on safety clothing detection method for surveillance video of thermal power plant [J]. Journal of Graphics, 2023, 44(2): 291-297. |
[6] | CUI Zhen-dong , LI Zong-min, YANG Shu-lin , LIU Yu-jie , LI Hua. 3D object detection based on semantic segmentation guidance [J]. Journal of Graphics, 2022, 43(6): 1134-1142. |
[7] | WU Li-zhan, WANG Xia-li, ZHANG Qian, WANG Wei-hao, LI Chao . An object detection method of falling person based on optimized YOLOv5s [J]. Journal of Graphics, 2022, 43(5): 791-802. |
[8] | DONG Hui, CHEN Xin-kai, SUN Hao, YAO Li-gang. Weed detection in vegetable field based on improved YOLOv4 and image processing [J]. Journal of Graphics, 2022, 43(4): 559-569. |
[9] | FAN Xin-nan, HUANG Wei-sheng, SHI Peng-fei, XIN Yuan-xue, ZHU Feng-ting, ZHOU Run-kang. Embedded substation instrument detection algorithm based on improved YOLOv4 [J]. Journal of Graphics, 2022, 43(3): 396-403. |
[10] | LI Ni-ni, WANG Xia-li, FU Yang-yang, ZHENG Feng-xian, HE Dan-dan, YUAN Shao-xin. A traffic police object detection method based on optimized YOLO model [J]. Journal of Graphics, 2022, 43(2): 296-305. |
[11] | GAO Wen-ting , LIU Yue. Review of real-time deep learning-based object detection for mobile augmented reality [J]. Journal of Graphics, 2021, 42(4): 525-534. |
[12] | XU Chen, NI Rong-rong, ZHAO Yao, . 3D object detection algorithm combined with sparse point cloud completion [J]. Journal of Graphics, 2021, 42(1): 37-43. |
[13] | ZHANG Ming-hua , LONG Teng , SONG Wei , HUANG Dong-mei, MEI Hai-bin , QIN Xue-biao. Method for moving object detection of underwater fish using dynamic video sequence [J]. Journal of Graphics, 2021, 42(1): 52-58. |
[14] | YANG Miao, WANG Hai-wen , HU Ke , YIN Ge , HU Jin-tong. An underwater image comprehensive enhancement algorithm based on color compensation [J]. Journal of Graphics, 2021, 42(1): 59-64. |
[15] | ZHANG Sheng-hu , MA Hui-min. An analysis of occlusion influence on object detection [J]. Journal of Graphics, 2020, 41(6): 891-896. |
Viewed | ||||||
Full text |
|
|||||
Abstract |
|
|||||