#include <objdetect.hpp>
Public Types | |
enum | { L2Hys =0 } |
enum | { DEFAULT_NLEVELS =64 } |
Public Member Functions | |
CV_WRAP | HOGDescriptor () |
CV_WRAP | HOGDescriptor (Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture=1, double _winSigma=-1, int _histogramNormType=HOGDescriptor::L2Hys, double _L2HysThreshold=0.2, bool _gammaCorrection=false, int _nlevels=HOGDescriptor::DEFAULT_NLEVELS) |
CV_WRAP | HOGDescriptor (const String &filename) |
HOGDescriptor (const HOGDescriptor &d) | |
virtual | ~HOGDescriptor () |
CV_WRAP size_t | getDescriptorSize () const |
CV_WRAP bool | checkDetectorSize () const |
CV_WRAP double | getWinSigma () const |
virtual CV_WRAP void | setSVMDetector (InputArray _svmdetector) |
virtual bool | read (FileNode &fn) |
virtual void | write (FileStorage &fs, const String &objname) const |
virtual CV_WRAP bool | load (const String &filename, const String &objname=String()) |
virtual CV_WRAP void | save (const String &filename, const String &objname=String()) const |
virtual void | copyTo (HOGDescriptor &c) const |
virtual CV_WRAP void | compute (const Mat &img, CV_OUT vector< float > &descriptors, Size winStride=Size(), Size padding=Size(), const vector< Point > &locations=vector< Point >()) const |
virtual CV_WRAP void | detect (const Mat &img, CV_OUT vector< Point > &foundLocations, CV_OUT vector< double > &weights, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), const vector< Point > &searchLocations=vector< Point >()) const |
virtual void | detect (const Mat &img, CV_OUT vector< Point > &foundLocations, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), const vector< Point > &searchLocations=vector< Point >()) const |
virtual CV_WRAP void | detectMultiScale (const Mat &img, CV_OUT vector< Rect > &foundLocations, CV_OUT vector< double > &foundWeights, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), double scale=1.05, double finalThreshold=2.0, bool useMeanshiftGrouping=false) const |
virtual void | detectMultiScale (const Mat &img, CV_OUT vector< Rect > &foundLocations, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), double scale=1.05, double finalThreshold=2.0, bool useMeanshiftGrouping=false) const |
virtual CV_WRAP void | computeGradient (const Mat &img, CV_OUT Mat &grad, CV_OUT Mat &angleOfs, Size paddingTL=Size(), Size paddingBR=Size()) const |
void | detectROI (const cv::Mat &img, const vector< cv::Point > &locations, CV_OUT std::vector< cv::Point > &foundLocations, CV_OUT std::vector< double > &confidences, double hitThreshold=0, cv::Size winStride=Size(), cv::Size padding=Size()) const |
void | detectMultiScaleROI (const cv::Mat &img, CV_OUT std::vector< cv::Rect > &foundLocations, std::vector< DetectionROI > &locations, double hitThreshold=0, int groupThreshold=0) const |
void | readALTModel (std::string modelfile) |
void | groupRectangles (vector< cv::Rect > &rectList, vector< double > &weights, int groupThreshold, double eps) const |
Static Public Member Functions | |
static CV_WRAP vector< float > | getDefaultPeopleDetector () |
static CV_WRAP vector< float > | getDaimlerPeopleDetector () |
Public Attributes | |
CV_PROP Size | winSize |
CV_PROP Size | blockSize |
CV_PROP Size | blockStride |
CV_PROP Size | cellSize |
CV_PROP int | nbins |
CV_PROP int | derivAperture |
CV_PROP double | winSigma |
CV_PROP int | histogramNormType |
CV_PROP double | L2HysThreshold |
CV_PROP bool | gammaCorrection |
CV_PROP vector< float > | svmDetector |
CV_PROP int | nlevels |
CV_WRAP cv::HOGDescriptor::HOGDescriptor | ( | ) |
CV_WRAP cv::HOGDescriptor::HOGDescriptor | ( | Size | _winSize, |
Size | _blockSize, | ||
Size | _blockStride, | ||
Size | _cellSize, | ||
int | _nbins, | ||
int | _derivAperture = 1 , |
||
double | _winSigma = -1 , |
||
int | _histogramNormType = HOGDescriptor::L2Hys , |
||
double | _L2HysThreshold = 0.2 , |
||
bool | _gammaCorrection = false , |
||
int | _nlevels = HOGDescriptor::DEFAULT_NLEVELS |
||
) |
CV_WRAP cv::HOGDescriptor::HOGDescriptor | ( | const String & | filename | ) |
cv::HOGDescriptor::HOGDescriptor | ( | const HOGDescriptor & | d | ) |
|
virtual |
CV_WRAP size_t cv::HOGDescriptor::getDescriptorSize | ( | ) | const |
CV_WRAP bool cv::HOGDescriptor::checkDetectorSize | ( | ) | const |
CV_WRAP double cv::HOGDescriptor::getWinSigma | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
static |
void cv::HOGDescriptor::detectROI | ( | const cv::Mat & | img, |
const vector< cv::Point > & | locations, | ||
CV_OUT std::vector< cv::Point > & | foundLocations, | ||
CV_OUT std::vector< double > & | confidences, | ||
double | hitThreshold = 0 , |
||
cv::Size | winStride = Size() , |
||
cv::Size | padding = Size() |
||
) | const |
void cv::HOGDescriptor::detectMultiScaleROI | ( | const cv::Mat & | img, |
CV_OUT std::vector< cv::Rect > & | foundLocations, | ||
std::vector< DetectionROI > & | locations, | ||
double | hitThreshold = 0 , |
||
int | groupThreshold = 0 |
||
) | const |
void cv::HOGDescriptor::readALTModel | ( | std::string | modelfile | ) |
void cv::HOGDescriptor::groupRectangles | ( | vector< cv::Rect > & | rectList, |
vector< double > & | weights, | ||
int | groupThreshold, | ||
double | eps | ||
) | const |
CV_PROP Size cv::HOGDescriptor::winSize |
CV_PROP Size cv::HOGDescriptor::blockSize |
CV_PROP Size cv::HOGDescriptor::blockStride |
CV_PROP Size cv::HOGDescriptor::cellSize |
CV_PROP int cv::HOGDescriptor::nbins |
CV_PROP int cv::HOGDescriptor::derivAperture |
CV_PROP double cv::HOGDescriptor::winSigma |
CV_PROP int cv::HOGDescriptor::histogramNormType |
CV_PROP double cv::HOGDescriptor::L2HysThreshold |
CV_PROP bool cv::HOGDescriptor::gammaCorrection |
CV_PROP vector<float> cv::HOGDescriptor::svmDetector |
CV_PROP int cv::HOGDescriptor::nlevels |