50
#ifndef __OPENCV_LATENTSVM_HPP__
51
#define __OPENCV_LATENTSVM_HPP__
53
#include "opencv2/core.hpp"
117
virtual
bool
isEmpty()
const
= 0;
124
virtual
void
detect(
cv::Mat
&image, CV_OUT std::vector<ObjectDetection> &objects) = 0;
143
std::vector<std::string>
const
&classNames = std::vector<std::string>());
n-dimensional dense array class
Definition:
mat.hpp:802
Template class for 2D rectangles
Definition:
core/types.hpp:421
This is a C++ abstract class, it provides external user API to work with DPM.
Definition:
dpm.hpp:105
virtual size_t getClassCount() const =0
Return a count of loaded models (classes).
virtual void detect(cv::Mat &image, CV_OUT std::vector< ObjectDetection > &objects)=0
Find rectangular regions in the given image that are likely to contain objects of loaded classes (mod...
static cv::Ptr< DPMDetector > create(std::vector< std::string > const &filenames, std::vector< std::string > const &classNames=std::vector< std::string >())
Load the trained models from given .xml files and return cv::Ptr<DPMDetector>.
virtual std::vector< std::string > const & getClassNames() const =0
Return the class (model) names that were passed in constructor or method load or extracted from model...
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cvstd_wrapper.hpp:74