Recently, with the rapid development of society, solutions to reduce energy consumption in the world have attracted a lot of attention, especial electric energy. In this regard, a system that can control light on and off by determining the location of the person to reduce the waste of electricity used in public buildings, called intelligent building lighting system. Following the practical requirements of the intelligent building lighting system, a technique for positioning in indoor environments is proposed, supporting the design of a positioning system based on deep learning and the Cerebellar Model Articulation Controller (CMAC), called Y-CMAC.This technique adopts YOLOv3 (the method in the paper of YOLOv3: An Incremental Improvement) for object detections and makes the coordinate of a person in the image. On the other hand, using CMAC to calculate the actual position of the person in the indoor environment. Moreover, massive surveillance video is used to reduce the cost of equipment and facilitate the promotion of applications. The average positioning error is controlled at around 1m in this paper. INDEX TERMS Intelligent building lighting system, indoor positioning, monitor identification, CMAC, deep learning.