The use of unmanned aerial vehicles(UAVs)for highway inspection is an emerging means of traffic monitoring,which is of great significance to the informatization of highways.Portable UAVs inspection ground station can improve the mobility and flexibility of inspection,but currently there is no effective portable inspection ground station software.In this dissertation,a highway inspection UAV ground station APP based on the Android system is developed.This APP designs the functions that are highway inspection route planning,traffic volume detection,real-time video transmission.Meanwhile,the establishment of data communication,the data encryption and database are achieved.The main research work and contributions are as follows:(1)UAV carrying a camera,image server and intelligent terminal equipment are built the highway UAV inspection system.According to analysis of the functional and non-functional requirements,the overall architecture of UAV inspection ground station APP software is designed.(2)Aiming at highway inspection route planning function,the UAV initialization,the UAV positioning and the routed rowing are designed.Considering the traffic volume detection function,image processing and traffic statistics are designed.Aiming at the function of real-time video transmission,the working process,the video data decoding and the video playing are designed.Meanwhile,the entity relationship model and the storage lists of SQLite database are designed.Software communication is designed based on UDP/RTP protocol.A software security mechanism based on RSA asymmetric encryption algorithm is established.Finally,the interface is designed.(3)To achieve the planning function of inspection route,the category of route planning in Baidu Maps API is used to plan the inspection route.To achieve the function of traffic volume detection,the moving vehicles are detected based on the fusion frames differencing method and the background differencing method to obtain average speed,lane occupancy and traffic flow.To achieve the function of real-time video transmission,the received H.264 format video streams are decoded by FF mpeg library.Finally,the functional and performance of the software are tested.The results show that the highway inspection UAV ground station APP reaches design standards to meet the highway inspection requirements. |