Darwin
1.10(beta)
|
Mixture of parts models (T must have a parts model interface). Inference returns the best scoring model and its parts locations. More...
Public Member Functions | |
bool | empty () const |
int | size () const |
void | clear () |
void | write (const char *filename) const |
void | read (const char *filename) |
void | add (T *model) |
void | copy (const T *model) |
std::pair< int, double > | inference (const cv::Mat &img, drwnPartsAssignment &mapAssignment) const |
std::pair< int, double > | inference (const cv::Mat &img, drwnPartsAssignment &mapAssignment, const vector< vector< cv::Mat > > &partPriors, const cv::Mat ¢roidPrior) const |
std::pair< int, double > | inference (const cv::Mat &img, drwnPartsAssignment &mapAssignment, double &bestScale, double startScale, double endScale, int numLevels) const |
std::pair< cv::Mat, cv::Mat > | energyLandscape (const cv::Mat &img) const |
void | slidingWindowDetections (const cv::Mat &img, drwnObjectList &detections) const |
void | slidingWindowDetections (const cv::Mat &img, drwnObjectList &detections, int numLevelsPerOctave) const |
T * | operator[] (unsigned indx) |
const T * | operator[] (unsigned indx) const |
Protected Attributes | |
vector< T * > | _models |
Mixture of parts models (T must have a parts model interface). Inference returns the best scoring model and its parts locations.