With the progress and development of computer science and technology, motion capture is increasingly being used in many fields of intelligent surveillance and intelligent electronic device control and other smart appliances. Intelligent electrical apparatus control simulated system is using the camera monitors whether there is a way to control an electrical switch of the automatic control system. In order to facilitate the realization of simulation system, the paper takes light switch control for example. It could control electrical switches in intelligence, in order to achieve the aim of smart building energy saving.