The objective of this paper is to provide safe landing of an UAV on any demanding conditions and can be very useful during the period of floods, rescuing the affected people. It can be also be useful in military operations. This system provides stable method for landing of an aircraft. Image processing technique is used to capture the image and find the angle of inclinations. MATLAB produces four types of image through Image processing technique. They are Gray image, Edge Detection image, Histogram image, object detection image. MATLAB sends the histogram signal to microcontroller using UART. It is used to convert the received parallel data into serial data for transmitting the data to longer distance. Relay drives the DC motor. Angle of inclinations is measured according to the detected image of the surface. MATLAB produces the total inclination value of the surface. DC motor automatically adjusts the landing gear according to the obtained input inclination value of the surface. An UAV is programmed to adjust the landing gear according to angle of inclination. When the landing surface is detected for landing the aircraft, it automatically adjusts the landing gear and lands the aircraft according to the inclined surface of the landing area.