[opencv] 63/98: Fixed face detection python test

Mattia Rizzolo mattia at debian.org
Tue Oct 4 17:51:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to annotated tag 2.4.13
in repository opencv.

commit 24361733e4ec4acf355e36925845318c8e96a63d
Author: Vitaly Tuzov <vitaly.tuzov at itseez.com>
Date:   Fri Mar 18 13:17:26 2016 +0300

    Fixed face detection python test
---
 modules/python/test/test_facedetect.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/python/test/test_facedetect.py b/modules/python/test/test_facedetect.py
index 0946597..8228ae4 100644
--- a/modules/python/test/test_facedetect.py
+++ b/modules/python/test/test_facedetect.py
@@ -11,7 +11,7 @@ import numpy as np
 import cv2
 
 def detect(img, cascade):
-    rects = cascade.detectMultiScale(img, scaleFactor=1.3, minNeighbors=4, minSize=(30, 30),
+    rects = cascade.detectMultiScale(img, scaleFactor=1.3, minNeighbors=2, minSize=(30, 30),
                                      flags=cv2.CASCADE_SCALE_IMAGE)
     if len(rects) == 0:
         return []

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list