The invention provides an indoor face recognition and positioning method based on a panoramic camera. The technical method comprises the following steps: building internal space visual analysis, panoramic camera erection, face recognition, positioning calculation and positioning output. 3-D digital model of that panoramic camera and the building, The invention is characterized in that the indoor space analysis is carried out through the three-dimensional digital model of the building, the fixed point position of the panoramic camera is selected, the panoramic camera is installed and debugged,the face is monitored and detected, the face position is recognized through the geometric relationship between the camera and the monitored person, and the accurate positioning of the indoor face is realized. The invention does not rely on a wearable device, The signal base station can effectively solve the problems that the existing indoor positioning method needs to cooperate with mobile equipment, is susceptible to electromagnetic interference, has poor precision, is difficult to accurately dock with a specific person, has small application range, wastes resources seriously, and can be widely used in indoor navigation, loss prevention, security management, suspect tracing, 120 ambulance, and other aspects.