Next Article in Journal
The Influence of Dynamic Soil–Structure Interaction on a Damage Detection Algorithm
Previous Article in Journal
Damage Mechanism of Reinforced Concrete Shear Walls Under Axial Compressive Force and Contact Explosion
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

An Indoor Occupancy Detection Method and Application by Fusing Field-of-View Information and Events with a Single Camera

School of Environment and Energy Engineering, Beijing University of Civil Engineering and Architecture, Beijing 100044, China
*
Author to whom correspondence should be addressed.
Buildings 2026, 16(11), 2133; https://doi.org/10.3390/buildings16112133
Submission received: 30 April 2026 / Revised: 22 May 2026 / Accepted: 24 May 2026 / Published: 26 May 2026
(This article belongs to the Section Building Energy, Physics, Environment, and Systems)

Abstract

Accurate and stable indoor occupancy information is essential for occupant-based intelligent ventilation control. Under a single-camera setting, existing indoor occupancy detection methods commonly suffer from missed detections caused by occlusion and blind zones, false detections caused by people outside the room, and cumulative entry–exit errors that are difficult to correct. These problems lead to false fluctuations in detected occupancy, affect control performance, and may further reduce indoor comfort or cause unnecessary energy use. To address the practical situation in which indoor spaces are commonly equipped with a single security camera, this study proposes an indoor occupancy detection method by fusing field-of-view information and entry–exit events with a single camera. The study covers method development, multi-scenario validation, parameter analysis, and a ventilation control application. The proposed method uses YOLOv8x and DeepSORT as front-end models and performs post-processing on their outputs to extract field-of-view occupancy information, entry–exit events, and blind-zone events. An occupancy confirmation and correction module is then constructed. The blind-zone event mechanism reduces the influence of missed entry–exit events and camera blind zones on occupancy judgment. The correction module integrates frame-by-frame ID counts, historical outputs, and multiple event signals to verify and suppress false occupancy changes caused by false detections, missed detections, and blind zones, thereby producing more stable indoor occupancy results. Experimental results show that the proposed method outperforms the baseline methods based on front-end object detection and tracking in terms of score, RMSE, and F1 score in three typical scenarios: an office, a home, and a classroom. In the office scenario, the proposed method achieved a score of 99.36%, an RMSE of 0.081, and an F1 score of 0.781. The detection stability was also improved in the home and classroom scenarios. In the high-density and strongly occluded classroom scenario, the absolute detection performance of the fusion-based detection method was limited by the front-end models, indicating that the method still has certain applicability boundaries in complex high-density scenes. Parameter sensitivity analysis shows that key parameters, including the entry–exit area depth, confidence threshold, and time threshold, affect the detection results of the fusion-based detection method. Under the test conditions of this study, the method performs well when the entry–exit area depth is approximately 1.5d, the YOLOv8x confidence threshold is 40%, and the time threshold is 5 × FPS. These results can provide a reference for initial parameter setting and on-site calibration in similar scenarios. Using the office scenario as a case study, the method was further applied to occupant-based ventilation control. The average CO2 concentration during occupied periods under the proposed method was 622.43 ppm, which was closest to the result under ground-truth occupancy control, with a deviation of only 0.9 ppm. This indicates that the method can help improve indoor air quality. Compared with conventional schedule-based control, occupant-based ventilation control driven by the proposed fusion method reduced cumulative fan energy consumption by approximately 65.2%, showing good energy-saving potential at the ventilation-control level. In summary, the proposed method can effectively improve the accuracy and stability of indoor occupancy detection under a single-camera setting and provide more reliable input for occupant-based ventilation control. The framework is modular, and the front-end object detection and tracking models can be replaced according to actual deployment needs. However, the validation in this study is still mainly based on scenarios where existing security cameras can cover the main activity areas and all entry–exit passages. The applicability of the method under more complex camera arrangements, lighting variations, and automatic region configuration requires further investigation.
Keywords: indoor occupancy detection; single camera; fusion-based detection; event detection; building energy conservation indoor occupancy detection; single camera; fusion-based detection; event detection; building energy conservation

Share and Cite

MDPI and ACS Style

Chen, P.; Wang, C.; An, J. An Indoor Occupancy Detection Method and Application by Fusing Field-of-View Information and Events with a Single Camera. Buildings 2026, 16, 2133. https://doi.org/10.3390/buildings16112133

AMA Style

Chen P, Wang C, An J. An Indoor Occupancy Detection Method and Application by Fusing Field-of-View Information and Events with a Single Camera. Buildings. 2026; 16(11):2133. https://doi.org/10.3390/buildings16112133

Chicago/Turabian Style

Chen, Pengchen, Chuang Wang, and Jingjing An. 2026. "An Indoor Occupancy Detection Method and Application by Fusing Field-of-View Information and Events with a Single Camera" Buildings 16, no. 11: 2133. https://doi.org/10.3390/buildings16112133

APA Style

Chen, P., Wang, C., & An, J. (2026). An Indoor Occupancy Detection Method and Application by Fusing Field-of-View Information and Events with a Single Camera. Buildings, 16(11), 2133. https://doi.org/10.3390/buildings16112133

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop