Permalink
Browse files

Changed flags -> use_canny

Added generated test images to the .gitignore
  • Loading branch information...
1 parent 80b3a97 commit fc960f80332e30cc32cf6823cd1fdcd36945eb27 @stephenbalaban stephenbalaban committed Jul 9, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +2 −2 SimpleCV/ImageClass.py
View
@@ -16,3 +16,5 @@ SimpleCV/utils/
SimpleCV/tests/*.pkl
*.ipynb
*.komodoproject
+SimpleCV/sampleimages/04000_face.jpg
+SimpleCV/sampleimages/orson_welles_face.jpg
View
@@ -2793,10 +2793,10 @@ def findHaarFeatures(self, cascade, scale_factor=1.2, min_neighbors=2, use_canny
if not cascade.getCascade(): return None
- # added all of the arguments
+ # added all of the arguments from the opencv docs arglist
objects = cv.HaarDetectObjects(self._getEqualizedGrayscaleBitmap(),
cascade.getCascade(), storage, scale_factor, min_neighbors,
- flags, min_size)
+ use_canny, min_size)
if objects:
return FeatureSet([HaarFeature(self, o, cascade) for o in objects])

0 comments on commit fc960f8

Please sign in to comment.