The invention discloses an unmanned aerial vehicle track barrier detection and height
estimation method and medium based on
image segmentation. The unmanned platform is used to install a
monocular visible light camera and a small computing device to detect and identify the track barrier target; the visible light camera realizes the shooting of the visible light image of the target area and outputs the visible light video
stream; the small computing device realizes the reception of the visible light camera video and runs the target key point detection
algorithm and the height
estimation algorithm; the high-speed target key point detection
algorithm realizes the real-time detection of the target key point in the video
stream, outputs the pixel coordinates of the target key point, and simultaneously outputs the pixel length, pixel width and pixel position of the target rectangular boundary box; the height
estimation algorithm calculates the distance between the
monocular visible light camera and the top surface of the track barrier according to the pixel coordinates of the target key point. The invention realizes the rough
distance measurement of the
monocular camera and realizes the hovering aiming of the unmanned platform within the specified height range at a relatively low cost.