This research gave an approach to develop a robot that will help to increase the speed of accurate color detection and recognition technique in an image. The digital image processing methods used were image and video segmentation, erosion, dilation, and color detection. Color was required in the input process to be detected by the robot using the camera attached in it and an algorithm to set frames for the robot movement. Once the robot detects the correct frame, it will perform another algorithm to set a centroid for the frame as the basis where the robot will go. The robot was tested in Linux operating system and executed in Raspberry Pi. The algorithm used was built-in OpenCV and Python as the programming language. The results of this implementation were useful for future prospects of advancement and development of technology while decreasing cost and optimizing production in the industry.