From the perspective of ensuring life safety, combined with the advantages of high-speed time response and energy conservation of white light emitting diodes (LEDs), the visible light indoor positioning algorithm based on fire safety is proposed in the paper. First, the model is designed which needs three LED lights arranged in a straight line and positioned in the geographically north direction on the top of the model. Then, the proposed algorithm is discussed and analyzed when the camera is located at the center of the model and facing north,...