MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / setMaxSamples

Method setMaxSamples

detection/src/haardispada.cpp:256–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 }
255
256 void
257 HaarDispAdaClassifier::setMaxSamples(int n)
258 {
259 maxSamples_ = n;
260 numSamples_ = 0;
261 trainingSamples_.create(maxSamples_,num_filters_,CV_32FC1);
262 trainingLabels_.create(maxSamples_,1,CV_32SC1);
263
264 }
265
266 void
267 HaarDispAdaClassifier::setMinConfidence(float min_confidence)

Callers 3

HaarDispAdaNodeMethod · 0.80
onInitMethod · 0.80
HaarDispAdaNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected