Petroleum is a very important resource in nowaday society, and the stability of large equipment in petrochemical plants and oil and gas pipelines is very important. the equipment and facilities in chemical plant are huge and complex, working under high temperature and high pressure conditions. They are exposed to the air for a long time and suffer the rain and wind, which is easy to have serious leakage accidents due to aging, corrosion and other problems. In order to ensure the normal operation of the chemical plant, it is necessary to conduct the routine inspections of the chemical plant and pipeline facilities to eliminate the hidden dangers of the equipment and pipelines in time. UAV patrol inspection is the new inspection technology that uses drones to carry other auxiliary equipment to inspect chemical plants. It can effectively supplement the patrol inspection areas that manual patrol inspection is difficult or difficult to reach by manual inspection. It greatly improves the inspection efficiency and ensures the normal operation of the installation equipment.