—This paper proposes a smart video surveillance system with real-time moving object (primarily human) detection and identification for solving the problem of excessive power consumption in indoor public places. The proposed detection system is able to handle several known constraints such as changing illumination conditions, occlusion, clutter or even irrelevant extraneous motion. It keeps track of the number of humans in the vicinity and takes measures to gradually increase or decrease the luminosity depending on the number of people within its sight.