Development of an Optical Colour Recognition Application for Automated Resistor Value Identification Using a Camera
Student: Shadrach Oshiozokhai Aigbonoga (Project, 2025)
Department of Computer Engineering
Edo University, Iyamho, Edo State
Abstract
This project presents the design and development of an optical colour recognition application for automated resistor value identification using a camera. The system was developed to address the limitations of manual resistor reading, which is prone to errors due to colour similarity, poor lighting, and human interpretation. The application integrates computer vision and machine learning techniques within a Django web framework, enabling users to upload or capture resistor images for automated analysis. Image pre-processing was performed using OpenCV to resize, denoise, and convert images into HSV and LAB colour spaces, thereby enhancing the visibility of bands under varying conditions. The resistor color bands were detected and segmented using a pre-trained YOLOv8 object detection model, and accurate color classification was achieved using Euclidean distance in LAB space. The resistance values were then calculated programmatically with tolerance ranges after the identified colours were mapped to common resistor codes. The system was able to calculate resistor values like 56Ω ±5% in real-world trials, demonstrating high accuracy across a variety of lighting and orientation scenarios. The developed application demonstrated strong potential for use in diagnostics, education, and electronics manufacturing, and it proved to be dependable, and cost-effective.
Keywords
For the full publication, please contact the author directly at: shadrachaigbonoga200@gmail.com
Filters
Institutions
- Adeseun Ogundoyin Polytechnic, Eruwa, Oyo State 1
- Adeyemi College of Education, Ondo State. (affl To Oau, Ile-Ife) 68
- Ahmadu Bello University, Zaria, Kaduna State 101
- Air Force Institute of Technology (Degree), Kaduna, Kaduna State 11
- Air Force Institute of Technology, Kaduna, Kaduna State 2
- Akanu Ibiam Federal Polytechnic, Unwana, Afikpo, Ebonyi State 6
- Akwa Ibom State University, Ikot-Akpaden, Akwa Ibom State 53
- Akwa Ibom State College of Edu, Afaha-Nsit (Affl To Uni Uyo), Akwa Ibom State 2
- AKWA-IBOM STATE POLYTECHNIC (IEI), IKOT-OSURUA, AKWA IBOM STATE 41
- Akwa-Ibom State Polytechnic, Ikot-Osurua, Akwa Ibom State 32