Commit ef2a376b authored by Alexander Smorkalov's avatar Alexander Smorkalov

Merge pull request #6297 from terfendail:vt/pytestarm

parents dc8bb23a 24361733
......@@ -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 []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment