The rise of complex high-rise buildings has made building management increasingly challenging, especially the nighttime supervision of university laboratories. Idle occupation increases the risk of accidents and undermines campus sustainability. Effective occupancy detection is essential for optimizing campus building safety and energy efficiency. Environmental sensors for occupancy detection offer limited coverage and are costly, making them unsuitable for campuses. Surveillance cameras, as part of campus infrastructure, provide wide coverage. On this basis, we designed a detection algorithm that uses light brightness to assess nighttime building use. Experimental results showed that the algorithm achieves an average accuracy of 98.67%, enabling large-scale nighttime occupancy detection without the need for installing additional sensors, significantly improving the efficiency of campus building management. In addition, to address the limitations of indoor space representation in geographic information system (GIS) management models, this paper developed a comprehensive 3D GIS model based on a “building–floor–room” hierarchical structure, utilizing oblique photogrammetry and laser scanning technology. This study combined the detection results with real-world 3D data for visualization, providing a new perspective for the 3D spatiotemporal refinement of complex high-rise buildings, and providing a reference framework for the detection and analysis of other types of building environments.