Playing with CV & Python.
Branch: master
Clone or download
Latest commit e366c0d Mar 20, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Stop Sign Dataset initial commit Feb 18, 2016
.DS_Store initial commit Feb 18, 2016
README.md Update README.md Mar 20, 2016
Screenshot.png initial commit Feb 18, 2016
detectStopSigns.py initial commit Feb 18, 2016
stopPrototype.png initial commit Feb 18, 2016

README.md

Stop Sign Detection

Prototype

Some quick prototype code to experiment with some old computer vision concepts and get some first time exposure to Open CV. This was one my early python projects so it's probably not very Pythonic.

This code takes a "prototype" stop sign (stopPrototype.png) and creates a pyramid out of it by downsampling (read more here: https://en.wikipedia.org/wiki/Pyramid_(image_processing)) then it slides the pyramid one slice at a time over the target image, computing the mean square error. The slice with the mean square error is determined to be the stop sign. Actually works ok!

Run it like this: python detectStopSigns.py -p stopPrototype.png -i Stop\ Sign\ Dataset/3.jpg

Screenshot of Stop Sign Detector

Dataset

"Stop Sign Dataset" folder contains a data set of 100 images with stop signs and 100 images without stop signs (see labels.tsv). In the future -- If I ever get to it -- I am planning to use this dataset to evaluate the performance of a stop sign classifier.