This paper addresses the challenges faced by novice drone operators in mastering flight altitude, speed, and shooting angles. It analyzes strategies for adjusting these parameters to capture satisfactory photographs, focusing on four key questions. Firstly, it examines the geometric relationship between flight altitude and camera coverage area, establishing an optimization model for drone shooting accuracy. Secondly, it independently analyzes the numerical relationship between shooting angles and camera coverage area, identifying optimal shooting angles using a UAV shooting accuracy score optimization model. Thirdly, it develops a small UAV system model and ground target model, employing a recursive target tracking algorithm to continuously adjust shooting angles for target acquisition. Finally, it introduces a novel RRT* algorithm for path planning around obstacles encountered during flight. We use MATLAB to select a reasonable obstacle avoidance strategy, and the global optimal route is obtained by smoothing processing. Simulation results demonstrate model stability and robustness across varying flight conditions.