Merge pull request #6297 from terfendail:vt/pytestarm

pull/6320/head
Alexander Smorkalov 9 years ago
commit ef2a376baf
  1. 2
      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 []

Loading…
Cancel
Save