How to use HOG Descriptor ?
I type cv::HOGDescriptor hog;
but opencv tells me namespace cv has no member HOGDescriptor. How do I know what files I need to include to use HOG ? I am using opencv 3.1
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/gpu/gpu.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/contrib/contrib.hpp>
Use these headers for your Problem.
Asked: 2016-12-14 22:06:18 -0600
Seen: 555 times
Last updated: Dec 19 '16