Abstract:A new method of laser triangulation based on PTZ camera was introduced. A laser remote deicing vision ranging system for large outdoor targets was designed and implemented using VS2015 and OpenCV. In order to make up for the limitations of ordinary laser rangefinders, such as limited range and poor flexibility, a laser ranging method with adjustable measurement range was proposed by combining the rotation and zoom advantages of PTZ camera. Through the PTZ controlling and spot recognition and positioning, and with the help of PTZ camera 360° full-angle rotation, vertical 90° flip and 23 times optical zoom capability, the distance measurement of targets at different positions within 40 m was realized. The experimental results show that the measurement error of the system is no more than 54 mm when the Zoom=3 times, no more than 27 mm when the Zoom=5 times, no more than 19 mm when the Zoom=10 times, no more than 15 mm when the Zoom=15 times, no more than 11 mm when the Zoom=20 times. The measurement error increases with the increasement of the distance and decreases with the increasement of the Zoom value.