Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed flags -> use_canny

Added generated test images to the .gitignore
  • Loading branch information...
commit fc960f80332e30cc32cf6823cd1fdcd36945eb27 1 parent 80b3a97
Stephen A. Balaban stephenbalaban authored
Showing with 4 additions and 2 deletions.
  1. +2 −0  .gitignore
  2. +2 −2 SimpleCV/ImageClass.py
2  .gitignore
View
@@ -16,3 +16,5 @@ SimpleCV/utils/
SimpleCV/tests/*.pkl
*.ipynb
*.komodoproject
+SimpleCV/sampleimages/04000_face.jpg
+SimpleCV/sampleimages/orson_welles_face.jpg
4 SimpleCV/ImageClass.py
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])
Please sign in to comment.
Something went wrong with that request. Please try again.