Purpose: In this paper. the improvement of the image quality is investigated. The image quality is degraded by the drift phenomenon of EO/IR (Electro-Optical/Infrared) device on UAV. The drift phenomenon means that the image of EO/IR equipment on UAV(Unmanned Aerial Vehicle) moves to the unintended direction. This phenomenon should be improved for successful flight mission. Methods: To improve the drift phenomenon. the drift compensation method. the combination algorithm of FMC(Forward Motion Compensation) and AMC(Anguiar Motion Compensation) method, are introduced to calculate pitch and azimuth angle. Result values of pitch and azimuth angle are used for the improvement of image quality in EO/IR control logic. Results: The image quality is quantitatively improved more than 15 times through field test data of flight. Conclusion: Using the drift compensation technique. the image quality for EO/IR equipment is improved over 15 times than existing methods. This means the user of UAV with EO/IR device can perform a successful mission by keeping the line of sight for the target accurately.