Home
last modified time | relevance | path

Searched refs:featureEvaluator (Results 1 – 6 of 6) sorted by relevance

/external/opencv3/apps/traincascade/
Dcascadeclassifier.cpp169 featureEvaluator = CvFeatureEvaluator::create(cascadeParams.featureType); in train()
170 featureEvaluator->init( featureParams, numPos + numNeg, cascadeParams.winSize ); in train()
228 bool isStageTrained = tempStage->train( featureEvaluator, in train()
334 featureEvaluator->setImage( img, isPositive ? 1 : 0, i ); in fillPassedSamples()
355 featureEvaluator->writeFeatures( fs, featureMap ); in writeFeatures()
402 if ( !tempStage->read( *it, featureEvaluator, *stageParams) ) in readStages()
480 … ((CvHaarEvaluator*)featureEvaluator.get())->writeFeature( fs, tempNode->split->var_idx ); in save()
525 featureEvaluator = CvFeatureEvaluator::create(cascadeParams.featureType); in load()
526 featureEvaluator->init( featureParams, numPos + numNeg, cascadeParams.winSize ); in load()
539 if ( !tempStage->read( node, featureEvaluator, *stageParams )) in load()
[all …]
Dboost.cpp517 featureEvaluator = _featureEvaluator; in CvCascadeBoostTrainData()
520 max_c_count = MAX( 2, featureEvaluator->getMaxCatCount() ); in CvCascadeBoostTrainData()
522 if ( featureEvaluator->getMaxCatCount() > 0 ) in CvCascadeBoostTrainData()
583 featureEvaluator = _featureEvaluator; in setData()
585 max_c_count = MAX( 2, featureEvaluator->getMaxCatCount() ); in setData()
586 _resp = featureEvaluator->getCls(); in setData()
593 var_count = var_all = featureEvaluator->getNumFeatures() * featureEvaluator->getFeatureSize(); in setData()
609 if ( featureEvaluator->getMaxCatCount() > 0 ) in setData()
776 ordValuesBuf[i] = (*featureEvaluator)( vi, idx); in get_ord_var_data()
798 sampleValues[i] = (*featureEvaluator)( vi, sampleIndices[i]); in get_ord_var_data()
[all …]
Dcascadeclassifier.h118 cv::Ptr<CvFeatureEvaluator> featureEvaluator; variable
Dboost.h47 const CvFeatureEvaluator* featureEvaluator; member
/external/opencv3/modules/objdetect/src/
Dcascadedetect.hpp159 …dictOrdered( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weig…
162 …Categorical( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weig…
165 …rderedStump( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weig…
168 …oricalStump( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weig…
226 Ptr<FeatureEvaluator> featureEvaluator; member in cv::CascadeClassifierImpl
508 FEval& featureEvaluator = (FEval&)*_featureEvaluator; in predictOrdered() local
528 double val = featureEvaluator(node.featureIdx); in predictOrdered()
548 FEval& featureEvaluator = (FEval&)*_featureEvaluator; in predictCategorical() local
569 int c = featureEvaluator(node.featureIdx); in predictCategorical()
589 FEval& featureEvaluator = (FEval&)*_featureEvaluator; in predictOrderedStump() local
[all …]
Dcascadedetect.cpp935 featureEvaluator.release(); in load()
1025 Ptr<FeatureEvaluator> evaluator = classifier->featureEvaluator->clone(); in operator ()()
1098 featureEvaluator->getUMats(bufs); in ocl_detectMultiScaleNoGrouping()
1099 Size localsz = featureEvaluator->getLocalSize(); in ocl_detectMultiScaleNoGrouping()
1102 Size lbufSize = featureEvaluator->getLocalBufSize(); in ocl_detectMultiScaleNoGrouping()
1129 Ptr<HaarEvaluator> haar = featureEvaluator.dynamicCast<HaarEvaluator>(); in ocl_detectMultiScaleNoGrouping()
1169 Ptr<LBPEvaluator> lbp = featureEvaluator.dynamicCast<LBPEvaluator>(); in ocl_detectMultiScaleNoGrouping()
1214 const FeatureEvaluator::ScaleData& s = featureEvaluator->getScaleData(fptr[i*3 + 1]); in ocl_detectMultiScaleNoGrouping()
1231 return featureEvaluator->getFeatureType(); in getFeatureType()
1282 featureEvaluator->getLocalSize().area() > 0 && in detectMultiScaleNoGrouping()
[all …]