We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I test the classifier once it has been compiled as per the steps mentioned in the tutorial?
The text was updated successfully, but these errors were encountered:
after training you can get "cvHOGClassifier.yaml" in the genfile. the you can load it with : hog.load("cvHOGClassifier.yaml") here is an example:
cv::Mat gray_image; cv::cvtColor(res_image, gray_image, cv::COLOR_BGR2GRAY); cv::HOGDescriptor hog; hog.load("cvHOGClassifier.yaml"); std::vector<cv::Rect> found, found_filtered; hog.detectMultiScale(gray_image, found, 1.3, cv::Size(2,2), cv::Size(4,4), 1.05, 10);
Sorry, something went wrong.
No branches or pull requests
How do I test the classifier once it has been compiled as per the steps mentioned in the tutorial?
The text was updated successfully, but these errors were encountered: