#ifdef HAVE_OPENCV_OBJDETECT #include "opencv2/objdetect.hpp" typedef HOGDescriptor::HistogramNormType HOGDescriptor_HistogramNormType; typedef HOGDescriptor::DescriptorStorageFormat HOGDescriptor_DescriptorStorageFormat; #endif