Original Resistor Image
Preprocessing Part 1
Preprocessing Part 2
Preprocessing Part 3
As electrical and computer engineers, our team inevitably plays around often with circuits. A large part of circuit building consists of selecting the proper resistor for specific applications by looking at its color bands. Our team member Ryan Tong is directly impacted because he is color blind. We wanted to mitigate the annoyance of constantly squinting to see the color bands on the resistor and pulling up a resistance chart each time to identify the resistance, using computer vision.
What it does
Our Resistor Reader identifies the color of the bands and the order in which they occur on 4 band resistors. It plots which colors have been detected on the console, and returns the correct resistance in Ohms.
How we built it
Using Python, numpy, scipy, and matplotlib we build a computer vision program to read the resistance of a resistor.
Challenges we ran into
We learned very early on that the lighting in a photo directly impacts how a color is perceived, causing similar colors, such as brown and red to be easily confused.
Accomplishments that we're proud of
We compiled many RBG values to find the color ranges to classify each band on the resistor.
What we learned
We learned how to process images and colors in python.
What's next for Resistor Reader
We would like to expand Resistor Reader to detect the resistance of five-band resistors, as well as develop a mobile app for the user to take pictures of resistors from their phone and directly receive the resistance value.