mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Update objdetect.hpp
This commit is contained in:
@@ -21,8 +21,8 @@ from tests_common import NewOpenCVTests, intersectionRate
|
||||
class peopledetect_test(NewOpenCVTests):
|
||||
def test_peopledetect(self):
|
||||
|
||||
hog = cv.HOGDescriptor()
|
||||
hog.setSVMDetector( cv.HOGDescriptor_getDefaultPeopleDetector() )
|
||||
hog = cv.HOGDescriptor( (48, 96) )
|
||||
hog.setSVMDetector( cv.HOGDescriptor_getDaimlerPeopleDetector() )
|
||||
|
||||
dirPath = 'samples/data/'
|
||||
samples = ['basketball1.png', 'basketball2.png']
|
||||
|
||||
Reference in New Issue
Block a user