Cracks and Holes that occur in an oil pipeline were detected with the help of X-ray machines that lead to many problems in reducing the inspection time to an absolute minimum. Inspected pipelines were not legible to notify a crack or a hole. To rectify this problem manual inspection was decided to replace with a computerized detection with the help of digital cameras. These cameras had problems with fiber optic cables that is connected with them.To overcome this problem a bug sized Robotic was planned to replace the existing digitized inspection mode. This paper presents the structural and logical operations for image processing applications. Edge detection operations are performed to detect the edges or corners and the results are observed through computed tomography software. The digital camera that is implemented in the Robot is designed to fetch pictures for the calculation of pixel position, to determine the defects in the image. The result should show that the proposed mobile robot for image processing will be able to analyze pixel routing of the images. This research paper is a novice technique to replace the existing digital camera with a mobile robot.