资源简介
emgu cv 人脸识别demo.先下载emgu版本2.9.0.1922默认安装,然后打开我的电脑-属性-高级-环境变量-系统-设置path,值为;C:\Emgu\emgucv-windows-universal-cuda 2.9.0.1922\bin\x86(64位系统就到bin\x64),然后重新启动一下电脑就能运行了。人脸检测效率高,识别率还可以,可以用来初学者参考,是一个完整的人脸识别实例,vs2010 winxp,win7下都能正常运行。
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Emgu.CV.UI;
using Emgu.CV;
using Emgu.CV.Structure;
using Emgu.CV.CvEnum;
using System.IO;
using System.xml;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;
using System.xml.Serialization;
using System.Drawing.Imaging;
using System.Drawing;
///
/// Desingned to remove the training a EigenobjectRecognizer code from the main form
///
class Classifier_Train: IDisposable
{
#region Variables
//Eigen
//EigenobjectRecognizer recognizer;
FaceRecognizer recognizer;
//training variables
List> trainingImages = new List>();//Images
//TODO: see if this can be combined in Ditionary format this will remove support for old data
List Names_List = new List(); //labels
List Names_List_ID = new List();
int ContTrain NumLabels;
float Eigen_Distance = 0;
string Eigen_label;
int Eigen_threshold = 2000;
//Class Variables
string Error;
bool _IsTrained = false;
public string Recognizer_Type = “EMGU.CV.EigenFaceRecognizer“;
#endregion
#region Constructors
///
/// Default Constructor Looks in (Application.StartupPath + “\\TrainedFaces“) for traing data.
///
public Classifier_Train()
{
_IsTrained = LoadTrainingData(Application.StartupPath + “\\TrainedFaces“);
}
///
/// Takes String input to a different location for training data
///
///
public Classifier_Train(string Training_Folder)
{
_IsTrained = LoadTrainingData(Training_Folder);
}
#endregion
#region Public
///
/// Retrains the recognizer witout resetting variables like recognizer type.
///
///
public bool Retrain()
{
return _IsTrained = LoadTrainingData(Application.StartupPath + “\\TrainedFaces“);
}
///
/// Retrains the recognizer witout resetting variables like recognizer type.
/// Takes String input to a different location for training data.
///
///
public bool Retrain(string Training_Folder)
{
return _IsTrained = LoadTrainingData(Training_Folder);
}
///
/// Return(True): If Training data has been located and Eigen Recogniser has been trained
/// Return(False): If NO Training data has been located of error in training has occured
///
public bool IsTrained
{
get { return _IsTrained; }
}
///
/// Recognise a Grayscale Image using the trained Eigen Recogniser
///
///
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 837462 2014-06-05 23:52 emgu人脸识别c#\Face Recognition\bin\Debug\Cascades\haarcascade_frontalface_alt2.xm
文件 3644763 2011-01-15 17:17 emgu人脸识别c#\Face Recognition\bin\Debug\Cascades\haarcascade_frontalface_alt_tree.xm
文件 1290445 2013-05-29 15:02 emgu人脸识别c#\Face Recognition\bin\Debug\Cascades\haarcascade_frontalface_default.xm
文件 321536 2014-06-03 22:56 emgu人脸识别c#\Face Recognition\bin\Debug\Emgu.CV.dll
文件 923136 2014-06-03 22:56 emgu人脸识别c#\Face Recognition\bin\Debug\Emgu.CV.pdb
文件 126976 2013-09-23 20:41 emgu人脸识别c#\Face Recognition\bin\Debug\Emgu.CV.UI.dll
文件 35149 2013-09-23 20:41 emgu人脸识别c#\Face Recognition\bin\Debug\Emgu.CV.UI.xm
文件 1227431 2014-06-03 22:56 emgu人脸识别c#\Face Recognition\bin\Debug\Emgu.CV.xm
文件 25088 2014-06-03 22:56 emgu人脸识别c#\Face Recognition\bin\Debug\Emgu.Util.dll
文件 56832 2014-06-03 22:56 emgu人脸识别c#\Face Recognition\bin\Debug\Emgu.Util.pdb
文件 22455 2014-06-03 22:56 emgu人脸识别c#\Face Recognition\bin\Debug\Emgu.Util.xm
文件 46080 2014-06-06 18:33 emgu人脸识别c#\Face Recognition\bin\Debug\Face Recognition.exe
文件 77312 2014-06-06 18:33 emgu人脸识别c#\Face Recognition\bin\Debug\Face Recognition.pdb
文件 11592 2014-06-06 18:35 emgu人脸识别c#\Face Recognition\bin\Debug\Face Recognition.vshost.exe
文件 307200 2013-02-09 07:33 emgu人脸识别c#\Face Recognition\bin\Debug\ZedGraph.dll
文件 1492968 2013-02-09 07:33 emgu人脸识别c#\Face Recognition\bin\Debug\ZedGraph.xm
文件 4096 2013-02-09 07:33 emgu人脸识别c#\Face Recognition\bin\Debug\zh-CN\ZedGraph.resources.dll
文件 837462 2014-06-05 23:52 emgu人脸识别c#\Face Recognition\Cascades\haarcascade_frontalface_alt2.xm
文件 1290445 2013-05-29 15:02 emgu人脸识别c#\Face Recognition\Cascades\haarcascade_frontalface_default.xm
文件 14718 2014-06-05 23:59 emgu人脸识别c#\Face Recognition\Classifier_Train.cs
文件 6380 2014-06-06 13:43 emgu人脸识别c#\Face Recognition\Face Recognition.csproj
文件 3774 2011-09-22 11:01 emgu人脸识别c#\Face Recognition\face.ico
文件 14623 2014-06-06 18:33 emgu人脸识别c#\Face Recognition\Main Form1.cs
文件 17607 2014-06-06 00:06 emgu人脸识别c#\Face Recognition\Main Form1.Designer.cs
文件 12146 2014-06-06 00:06 emgu人脸识别c#\Face Recognition\Main Form1.resx
文件 2164 2011-09-07 13:35 emgu人脸识别c#\Face Recognition\obj\x64\Debug\DesignTimeResolveAssemblyReferences (CIJTechsystemWS).cache
文件 4440 2014-06-06 01:05 emgu人脸识别c#\Face Recognition\obj\x64\Debug\DesignTimeResolveAssemblyReferences.cache
文件 8892 2011-11-06 10:05 emgu人脸识别c#\Face Recognition\obj\x64\Debug\DesignTimeResolveAssemblyReferencesInput (CIJTechsystemWS).cache
文件 6727 2014-06-06 18:33 emgu人脸识别c#\Face Recognition\obj\x64\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 36352 2011-09-29 16:43 emgu人脸识别c#\Face Recognition\obj\x64\Debug\Face Recognition (CIJTechsystemWS) 2.exe
............此处省略55个文件信息
相关资源
- 虹软人脸识别ArcFace 2.1 (C# 修改官方
- asp.net+websocket+emgucv实现人脸识别完整
- libemgucv-windesktop-3.3.0.2824.exe
- Unity+百度人脸识别程序包PC版exe
- C# 使用EmguCV 拼接图片用于多张照片合
- 海康人脸识别C#远程采集人脸、下发人
- C# 海康人脸识别主机demo,64位可运行
- C# 人脸识别Demo基于虹软免费SDK完整版
- 利用Emgu.CV实现人脸识别详解 (C#)
- ASP.net基于百度AI的在线人脸登陆,人
- EmguCV3.4.3
- c# 人脸识别源码和使用说明
- c# emgucv 实时绿幕抠像源码
- C#EmguCV 运动检测
- C#-EmguCV 特征匹配
- RGBHSV颜色统计程序
- WPF利用Emgu CV调用计算机摄像头
- C# emgucv人脸识别最新
- c#下使用EmguCV操作摄像头和最简单的人
- 人脸识别摄像头抓拍C#源码
- C#利用Emgu人脸识别Demo可直接运行
- 找出姚明: EmguCV视觉计算,模板匹配法
- 图像目标框标注可用作VOC2007数据集制
- 人脸识别C#源码
- EmguCV完美播放文件夹和摄像头视频
- Emgucv3.0(c#)简单入门
- 用C#做学习型人脸识别程序尝鲜版
- C#窗口实现百度云人脸识别
- 人脸识别源码C#
- C#实现的人工神经网络人脸识别 含完
评论
共有 条评论