In response to the problem of high-rise building fire protection,a flying robot that can identify and track flame was designed,and the YOLOv3 detection algorithm was used to detect flame.The structure and dynamic model of flying robot were introduced,the YOLOv3 detection algorithm and visual servo tracking control were analyzed,and the simulation was carried out to confirm the credibility of the flame tracking technology of flying robot based on YOLOv3.