Resistor Color Code/ Value Detector from image

Detects resistors from other electrical components within an image, determines color code of the resistor thus determining the value in ohms
496 Downloads
Updated 23 Oct 2019

View License

This program uses image processing techniques to detect resistors from other electrical components within a given image using image segmentation. After separating the images of each resistor, it detects the color code using different colored masks. Then using this color code, it determines the value of each resistor in ohms. It can only detect 4 band resistor and it can only detect the value, not the tolerance level.

To use the program, please run "MainGUI.m" . Then, select an image by clicking on the "Select Image" button. The example images are stored in the "Resistor Images" folder. Selecting an image will automatically show the results. For selecting a different image, first click on "Clear Image" then "Select Image".

Cite As

Khondker Shihabul Hoque (2019). Resistor Color Code/ Value Detector from image (https://www.mathworks.com/matlabcentral/fileexchange/<...>), MATLAB Central File Exchange. Retrieved October 23, 2019.

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0