Related Experiment Video
Updated: Aug 29, 2025

Author Spotlight: AI-Driven Trypanosome Species Detection from Microscopic Images
Published on: October 27, 2023
Automatic detection of indoor occupancy based on improved YOLOv5 model
Chao Wang1, Yunchu Zhang1, Yanfei Zhou1
1Shandong Key Laboratory of Intelligent Buildings Technology, School of Information and Electrical Engineering, Shandong Jianzhu University, Jinan, 250101 China.
This study introduces DFV-YOLOv5, an improved algorithm for indoor occupancy detection using classroom surveillance video. The novel approach enhances accuracy and speed for energy efficiency and public health traceability.
Area of Science:
- Computer Vision
- Artificial Intelligence
- Energy Systems
Background:
- Indoor occupancy detection is crucial for energy efficiency and disease traceability.
- Current YOLO algorithms struggle with dense, occluded targets due to anchor-based mechanisms and coupled detection heads.
- This leads to slow convergence and suboptimal performance in real-world scenarios.
Purpose of the Study:
- To develop a novel, efficient, and accurate indoor occupancy detection algorithm.
- To address the limitations of existing YOLO models in detecting occluded individuals.
- To improve energy management and public health monitoring through enhanced occupancy detection.
Main Methods:
- Proposed DFV-YOLOv5: a decoupled, anchor-free convolutional network based on YOLOv5.
- Implemented an anchor-free mechanism to reduce parameters and heuristic tuning.
- Decoupled detection heads to resolve classification-regression conflicts and speed up convergence.
- Utilized VariFocal loss for class imbalance and asymmetric sample weighting.
- Introduced a hybrid activation function (sigmoid-linear unit and rectified linear unit) for improved nonlinear representation and reduced inference time.
Main Results:
- DFV-YOLOv5 demonstrated significantly improved detection accuracy and robustness compared to mainstream models.
- The algorithm achieved shorter inference times, enhancing real-time applicability.
- Experiments on VOC2012, CrowdHuman, and a custom classroom dataset validated the model's performance.
- Ablation studies confirmed the effectiveness of the improved loss function and model design.
Conclusions:
- The proposed DFV-YOLOv5 algorithm offers a practical and effective solution for indoor occupancy detection.
- The anchor-free, decoupled design with VariFocal loss optimizes performance for crowded and occluded environments.
- This advancement supports more efficient energy management and enhanced public health traceability systems.
Related Concept Videos
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,...
Difference from Background: Limit of Detection
The LOD indicates the presence or absence...
Light Acquisition
Methods of Classification and Identification
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...
Masking and Demasking Agents
There are many masking agents, such as cyanide, fluoride, triethanolamine, thiourea, and 2,3-bis(sulfanyl)propan-1-ol (formerly 2,3-dimercapto-1-propanol), with the masking agent chosen based on...

