Skip to content

Analyses a picture of a resistor to determine its value using the coloured bands

Notifications You must be signed in to change notification settings

geniass/opencv-resistor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencv-resistor

Analyses a picture of a resistor to determine its value using the coloured bands

Still very much a work in progress (it doesn't work yet). If there are reflections in the original image (e.g. gold bands) it appears as multiple different colours.

resistor-otsu.py uses Otsu threshholding and Canny edge detection to isolate the resistor. Then it uses fitLine to draw a line long-ways through the resistor, onto a new mask image.

About

Analyses a picture of a resistor to determine its value using the coloured bands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages