DaHoC / trainHOG

Example program showing how to train your custom HOG detector using openCV
221 stars 111 forks source link

import "cvHOGClassifier.yaml" with python #16

Open zelade opened 7 years ago

zelade commented 7 years ago

Hello, i really appreciate your training program. I want to use the generated classifier with my custom python detector. How can i import the file? For example the import of the DefaultPeopleDetector looks as follows: # initialize the HOG descriptor/person detector hog = cv2.HOGDescriptor() hog.setSVMDetector(cv2.HOGDescriptor_getDefaultPeopleDetector()) What do i have to change to import the custom file? Best regards