Related Experiment Video
Updated: Jun 23, 2025

A Step-by-Step Implementation of DeepBehavior, Deep Learning Toolbox for Automated Behavior Analysis
Published on: February 6, 2020
A lightweight fire detection algorithm for small targets based on YOLOv5s.
Changzhi Lv1, Haiyong Zhou2, Yu Chen1
1National Experimental Teaching Demonstration Center for Electrical Engineering and Electronics, College of Electrical Engineering and Automation, Shandong University of Science and Technology, Qingdao, 266590, Shandong, China.
This study introduces an improved YOLOv5s fire detection algorithm, enhancing accuracy and small target recognition in complex environments. The lightweight model achieves high precision and real-time detection speeds.
Area of Science:
- Computer Vision
- Artificial Intelligence
- Fire Safety Engineering
Background:
- Current fire detection algorithms struggle with low accuracy and poor recognition of small targets in complex settings.
- Existing methods often lack the efficiency required for real-time applications.
Purpose of the Study:
- To develop a lightweight and accurate fire detection algorithm.
- To improve the recognition of small fire targets in challenging environments.
- To meet the real-time detection demands for enhanced fire safety.
Main Methods:
- An improved YOLOv5s architecture incorporating the Contextual Transformer (CoT) and a novel CSP1_CoT module.
- Enhancements to the Neck architecture with a dedicated small target detection layer and SE attention mechanism.
- Implementation of the Focal-Efficient IoU (Focal-EIoU) loss function for improved convergence and precision.
Main Results:
- The modified model achieved a mean Average Precision (mAP@.5) of 96% and an accuracy of 94.8%, an 8.8% and 8.9% improvement, respectively.
- Reduced model parameter count by 1.1% to a compact 14.6MB size.
- Achieved a detection speed of 85 Frames Per Second (FPS), meeting real-time requirements.
Conclusions:
- The enhanced YOLOv5s algorithm offers superior precision and accuracy for fire detection.
- The lightweight design and high detection speed satisfy real-time and resource-constrained application needs.
- This improved algorithm effectively addresses the limitations of current fire detection systems.
Related Concept Videos
Difference from Background: Limit of Detection
The LOD indicates the presence or absence...
Flame Photometry: Overview
Light Acquisition
Flame Photometry: Lab
Detection of Black Holes
Their closest cousins are neutron stars, which are composed almost entirely of neutrons packed against each other, making them extremely dense. A neutron star has the same mass as the Sun but its diameter is only a few kilometers. Therefore, the escape velocity from their surface is close to the speed of light.
Not until the 1960s, when the first neutron...
Force Classification
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...

