|
// FaceDetection.h
#pragma once
#pragma managed
#include "ObjectLocator.h"
static int InitFlag = 0;
static int lastHeight, lastWidth;
#pragma managed
__gc class FaceLocator
{
// TODO: Add your methods for this class here.
private:
ObjectLocator* CurrentFaceDetector;
ObjectLocator* FrontalFaceDetector;
ObjectLocator* ProfileFaceDetector;
void InitCascades();
System::String* strApplicationPath;
int faceMode;
public:
FaceLocator(System::String* appPath);
~FaceLocator(void);
int SetFaceMode(int Mode);
int DetectFaces(IplImage* ImageData);
int GetFaceCordinates(int index, int &lx, int &ly, int &rx, int &ry);
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.