PedestrainCounting
|
#include <WeakClassifierHaar.h>
Public Member Functions | |
WeakClassifierHaar (const Size &patchSize) | |
bool | Update (const IntegralImage *intImage, const Rect &roi, int target) |
int | Classify (const IntegralImage *intImage, const Rect &roi, float scale=1.0f) |
float | Evaluate (const IntegralImage *intImage, const Rect &roi) |
virtual void | Initialize (const Size &patchSize) |
void | ResetPosDist () |
![]() | |
virtual float | Evaluate (const IntegralImage *intImage, const Rect &roi, float scale=1.0f) |
Using Haar Feature to construct a weak classifier. Also estimate the positive and negative cluster with Kalman filter.
|
virtual |
Reimplemented from WeakClassifier.
|
virtual |
Initialize the weak classifier.
Reimplemented from WeakClassifier.
|
virtual |
Update this weak classifer. Return true if after update, this weak classifer still can not classify this sample correctly.
Reimplemented from WeakClassifier.