⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clsfacedetectionwrapper.h

📁 face detection Face detection can be regarded as a more general case of face localization In face
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -