Playing with CV & Python.
Branch: master
Clone or download
Latest commit e366c0d Mar 20, 2016
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 Update Mar 20, 2016
Screenshot.png initial commit Feb 18, 2016 initial commit Feb 18, 2016
stopPrototype.png initial commit Feb 18, 2016

Stop Sign Detection


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: 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 -p stopPrototype.png -i Stop\ Sign\ Dataset/3.jpg

Screenshot of Stop Sign Detector


"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.