Classes
Feature evaluation interface.
More...
Parameters for
WaldBoost. weak_count — number of weak learners, alpha — cascade thresholding param.
More...
Functions
Compute channels for integral channel features evaluation.
More...
Construct feature evaluator.
More...
Generate integral features. Returns vector of features.
More...
void
cv::xobjdetect::read (const FileNode &node, ICFDetector &d, const ICFDetector &default_value=ICFDetector())
Detailed Description
Function Documentation
void cv::xobjdetect::computeChannels
(
InputArray
image,
std::vector< Mat > &
channels
)
Compute channels for integral channel features evaluation.
- Parameters
-
image image for which channels should be computed
channels output array for computed channels
Ptr<FeatureEvaluator> cv::xobjdetect::createFeatureEvaluator
(
const std::vector< std::vector< int > > &
features,
const std::string &
type
)
Construct feature evaluator.
- Parameters
-
features features for evaluation
type feature type. Can be "icf" or "acf"
Ptr<WaldBoost> cv::xobjdetect::createWaldBoost
(
const WaldBoostParams &
params = WaldBoostParams() )
std::vector<std::vector<int> > cv::xobjdetect::generateFeatures
(
Size
window_size,
const std::string &
type,
int
count = INT_MAX,
int
channel_count = 10
)
Generate integral features. Returns vector of features.
- Parameters
-
window_size size of window in which features should be evaluated
type feature type. Can be "icf" or "acf"
count number of features to generate.
channel_count number of feature channels
void cv::xobjdetect::read
(
const FileNode &
node,
ICFDetector &
d,
const ICFDetector &
default_value = ICFDetector()
)
void cv::xobjdetect::sort_columns_without_copy
(
Mat &
m,
Mat
indices = Mat()
)
void cv::xobjdetect::write
(
FileStorage &
fs,
String &
,
const ICFDetector &
detector
)