1 #include "SamplesAccumulator.h"
int getNumSamples(byte state) const
Returns the number of stored samples in container for the state (class) state.
void release(byte state)
Releases memory of container for the state (class) state.
void addSample(const Mat &featureVector, byte state)
Adds new sample to the accumulator.
void reset(void)
Resets the accumulator.
T u(T min, T max)
Returns an integer random number with uniform distribution.
vec_int_t m_vNumInputSamples
int getNumInputSamples(byte state) const
Returns the number of input samples in container for the state (class) state.