mexopencv  3.4.1
MEX interface for OpenCV library
Functions | Variables
anonymous_namespace{DPMDetector_.cpp} Namespace Reference

Functions

MxArray toStruct (const vector< DPMDetector::ObjectDetection > &vo, const vector< string > &classNames)
 Convert object detections to struct array. More...
 

Variables

int last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< DPMDetector > > obj_
 Object container. More...
 

Function Documentation

◆ toStruct()

MxArray anonymous_namespace{DPMDetector_.cpp}::toStruct ( const vector< DPMDetector::ObjectDetection > &  vo,
const vector< string > &  classNames 
)

Convert object detections to struct array.

Parameters
vovector of detections
classNamesmapping of class IDs to class names
Returns
struct-array MxArray object

Definition at line 27 of file DPMDetector_.cpp.

Variable Documentation

◆ last_id

int anonymous_namespace{DPMDetector_.cpp}::last_id = 0

Last object id to allocate.

Definition at line 18 of file DPMDetector_.cpp.

◆ obj_

map<int,Ptr<DPMDetector> > anonymous_namespace{DPMDetector_.cpp}::obj_

Object container.

Definition at line 20 of file DPMDetector_.cpp.