clsfacedetectionwrapper.h

来自「face detection Face detection can be re」· C头文件 代码 · 共 28 行

H
28
字号
#pragma once
#include "FaceLocator.h"

#pragma managed 

public __gc class clsFaceDetectionWrapper
{
private:
	clsFaceDetectionWrapper(void);
	FaceLocator *faceLocator;
public:
	
	~clsFaceDetectionWrapper(void);
    static clsFaceDetectionWrapper* fwInstance=NULL;
	static clsFaceDetectionWrapper* GetSingletonInstance(void)
		{
			if(fwInstance==NULL)
			{
				fwInstance = new clsFaceDetectionWrapper();
			}
			return fwInstance;
		}	
	
	int WrapDetectFaces(System::Drawing::Bitmap* Image);	
	int WrapGetFaceCordinates(int index, int &lx, int &ly, int &rx, int &ry);	
	int WrapGetEyeCordinates(int index, int &lx, int &ly, int &rx, int &ry);
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?