Frapper  1.0a
Namespaces | Macros | Functions | Variables
FaceTrackerNode.cpp File Reference

Implementation file for FaceTrackerNode class. More...

#include "FaceTrackerNode.h"
#include <QtCore/QFile>
#include <QtCore/QDir>
Include dependency graph for FaceTrackerNode.cpp:

Namespaces

namespace  FaceTrackerNode
 

Macros

#define HAAR_FILENAME   "plugins/nodes/haarcascade_frontalface_alt.cascade"
 DEFINES.
 

Functions

PointNDC FaceTrackerNode::toPointNDC (Mat *image, CvPoint p)
 MISC FUNCTIONS.
 
CvPoint FaceTrackerNode::toCvPoint (Mat image, float x, float y)
 Returns the int coordinates of the given NDC with respect to the dimensions of the given image.
 
CvPoint FaceTrackerNode::toCvPoint (Mat image, PointNDC p)
 Returns the int coordinates of the given point's NDC with respect to the dimensions of the given image.
 
CvPoint FaceTrackerNode::toCvPoint (Mat image, RectNDC rect)
 Returns the int coordinates of the top left corner's NDC of the given rectangle with respect to the dimensions of the given image.
 

Variables

const float FaceTrackerNode::PROBABILITY_INCREASE_PER_DETECTION = 0.2f
 
const float FaceTrackerNode::PROBABILITY_DECREASE_PER_TIME_STEP = 0.1f
 
const float FaceTrackerNode::THRESHOLD = 10.0f
 

Detailed Description

Implementation file for FaceTrackerNode class.

Author
Nils Zweiling nils..nosp@m.zwei.nosp@m.ling@.nosp@m.film.nosp@m.akade.nosp@m.mie..nosp@m.de
Stefan Habel stefa.nosp@m.n.ha.nosp@m.bel@f.nosp@m.ilma.nosp@m.kadem.nosp@m.ie.d.nosp@m.e
Martin Schwarz marti.nosp@m.n.sc.nosp@m.hwarz.nosp@m.@fil.nosp@m.makad.nosp@m.emie.nosp@m..de
Version
1.0
Date
04.06.2012 (last updated)

Macro Definition Documentation

#define HAAR_FILENAME   "plugins/nodes/haarcascade_frontalface_alt.cascade"

DEFINES.

The name of the Haar classifier cascade file to use for detecting faces.