ComEngApp : Computer Engineering and Applications Journal
Vol. 15 No. 1 (2026): Computer Enginering and Applications Journal

Implementation of Color Matching in Ball Image Processing Using OpenCV

Awah Rizqi Tanzil Haq Azami (Unknown)



Article Info

Publish Date
07 Feb 2026

Abstract

This research focuses on object detection through color matching, enabling machines to detect objects based on specific colors using OpenCV, a Python library widely used in computer vision projects. As a form of Machine Learning and Artificial Intelligence, this method allows machines to automatically learn and classify objects by simulating the human visual system. The study aims to enable a machine to detect and locate a ball through digital image processing using a webcam. The research method includes digital image processing, implementation on a Raspberry Pi, and testing on a robot, where logic is applied to guide the robot toward the ball by detecting its color. The outcome is an object detection system that identifies the ball’s position in two dimensions based on its specific color. In this case, the RGB code (164, 122, 0) and a minimum ball size of 10 radians were successfully implemented on the robot. However, the system has limitations under certain conditions. Future improvements will involve integrating TensorFlow for dataset processing and OpenCV for real-time object detection to achieve more accurate results. Keywords: Artificial Intelligence, Color Matching, Computer Vision, OpenCV, Digital Image Processing.

Copyrights © 2026






Journal Info

Abbrev

comengapp

Publisher

Subject

Computer Science & IT Engineering

Description

ComEngApp-Journal (Collaboration between University of Sriwijaya, Kirklareli University and IAES) is an international forum for scientists and engineers involved in all aspects of computer engineering and technology to publish high quality and refereed papers. This Journal is an open access journal ...