Abstract
Glare is a common local visual discomfort caused by direct sunlight. It often occurs in office buildings, especially in high-latitude regions like Scandinavia, where the sun is low on the horizon. Moreover, glare discomfort is difficult to identify with conventional light sensors. Fortunately, the development of computer vision AI models offers new possibilities for occupant-centric control of building systems and the effective mitigation of local indoor discomforts like glare. This study builds on previous work on glare detection using a computer vision–based AI model capable of identifying visual discomfort caused by direct sunlight and excessive luminosity from video footage of an occupant. This article describes the integration of the computer vision algorithm into a smart solar shading control strategy for office environments. The proposed framework combines real-time occupant-centric visual comfort feedback from the glare-detection AI with a rule-based controller to automatically adjust the position of a venetian blind, balancing daylight availability, view to the outside, and occupant satisfaction. A full-scale experiment was carried out in a single-office test room located in a laboratory environment, and equipped with the intelligent venetian blind system, a single illuminance sensor, and a workstation camera (webcam). Results show that the integrated system responds reliably to changing outdoor light conditions, rapidly eliminating glare discomfort and maximizing daylight and view to the outside. These findings demonstrate the potential of combining computer vision with building automation to enable more responsive facade systems, improving user satisfaction and comfort. This work offers a practical step toward AI-driven solar shading solutions for future smart buildings.