🙃️ 学习型人脸识别程序
源代码下载
很多朋友使用
把
如果还不
我这是玩玩而已
刚刚学着老外的作品做了一个
当然
人脸识别特指利用分析比较人脸视觉特征信息进行身份鉴别的计算机技术
人脸识别是一项热门的计算机技术研究领域
我预期的设计目标是
- 检测人脸
- 学习检测到的人脸
- 利用学习库认人
- 支持摄像头和图片文件输入
做了
效果如下
已知
- 误识
如果学习库容量太少, 那么会出现把好几个人认成同一个人, 随着容量增大问题消失, - 重复识别
对认人来说不影响, 认出( ) - 功能不全
我只能说请看本贴标题( )
使用方法
- 确定你要有摄像头
- 选择
- 建议选择
auto stop「 在识别出内容后会自动停止」 start/stop「 开始/暂停」 Learn「 可以吧识别到的」 如果你觉得效果好( 脸存起来) - 给脸改名字
Emgu CV( 使用下面的代码完成中文人名绘制, ) - 在摄像头面前跑跑
看能不能认出你来, 。

1 Dictionary<string, Rectangle> foundPeople = new Dictionary<string, Rectangle>(); 2 3 float xfactor; 4 float yfactor; 5 6 private void imageBox_Paint(object sender, PaintEventArgs e) 7 { 8 if (foundPeople.Count > 0) 9 { 10 // 缩放 11 xfactor = (float)imageBox.Width / (float)current.Bitmap.Width; 12 yfactor = (float)imageBox.Height / (float)current.Bitmap.Height; 13 14 foreach (string name in foundPeople.Keys) 15 { 16 e.Graphics.DrawString( 17 name, 18 this.Font, 19 Brushes.Red, 20 foundPeople[name].X * xfactor, 21 foundPeople[name].Y * yfactor); 22 } 23 } 24 }
效果如下
if(jQuery('#no-reward').text() == 'true') jQuery('.bottom-reward').addClass('hidden');