资源简介
由于文件太大传不了,MODEL文件夹下缺失seeta_fr_v1.0.bin文件,请百度下载.
代码可以编译通过。
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace SeataFaceDemo
{
public partial class Form1 : Form
{
[DllImport(“SeataFaceLibrary.dll“ CallingConvention = CallingConvention.Winapi)]
private static extern int VerifyEx(string imageFile1 string imageFile2);
string imageFile1 = string.Empty;
string imageFile2 = string.Empty;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender EventArgs e)
{
if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
imageFile1 = openFileDialog1.FileName;
pictureBox1.ImageLocation = imageFile1;
}
}
private void button2_Click(object sender EventArgs e)
{
if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
imageFile2 = openFileDialog1.FileName;
pictureBox2.ImageLocation = imageFile2;
}
}
private void button3_Click(object sender EventArgs e)
{
if (!string.IsNullOrEmpty(imageFile1) && !string.IsNullOrEmpty(imageFile2))
{
DateTime start = DateTime.Now;
int score = VerifyEx(imageFile1 imageFile2);
double TotalMilliseconds = DateTime.Now.Subtract(start).TotalMilliseconds;
label1.Text = DateTime.Now.ToString(“yyyy/MM/dd HH:mm:ss“) + “人脸相似度比分:“ + score + “ 用时(毫秒):“ + TotalMilliseconds;
Random rad = new Random();
label1.BackColor = Color.FromArgb(rad.Next(1 255) rad.Next(1 255) rad.Next(1 255));
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 53248 2017-10-18 17:51 SeataFaceDemo\SeataFaceDemo\bin\Debug\FaceAlignment.dll
文件 457728 2017-10-18 17:50 SeataFaceDemo\SeataFaceDemo\bin\Debug\FaceDetection.dll
文件 467456 2017-10-18 17:49 SeataFaceDemo\SeataFaceDemo\bin\Debug\Identificationd.dll
文件 2083352 2017-10-11 10:28 SeataFaceDemo\SeataFaceDemo\bin\Debug\model\seeta_fa_v1.0.bin
文件 1209904 2017-10-11 10:27 SeataFaceDemo\SeataFaceDemo\bin\Debug\model\seeta_fd_frontal_v1.0.bin
文件 631616 2010-09-06 13:24 SeataFaceDemo\SeataFaceDemo\bin\Debug\msvcp100d.dll
文件 1467200 2010-09-06 13:22 SeataFaceDemo\SeataFaceDemo\bin\Debug\msvcr100d.dll
文件 3475456 2014-10-01 17:16 SeataFaceDemo\SeataFaceDemo\bin\Debug\opencv_core2410d.dll
文件 3593216 2014-10-01 17:16 SeataFaceDemo\SeataFaceDemo\bin\Debug\opencv_highgui2410d.dll
文件 3141632 2014-10-01 17:16 SeataFaceDemo\SeataFaceDemo\bin\Debug\opencv_imgproc2410d.dll
文件 1152512 2014-10-01 17:17 SeataFaceDemo\SeataFaceDemo\bin\Debug\opencv_nonfree2410d.dll
文件 1529856 2014-10-01 17:17 SeataFaceDemo\SeataFaceDemo\bin\Debug\opencv_objdetect2410d.dll
文件 12288 2017-10-20 16:27 SeataFaceDemo\SeataFaceDemo\bin\Debug\SeataFaceDemo.exe
文件 26112 2017-10-20 16:27 SeataFaceDemo\SeataFaceDemo\bin\Debug\SeataFaceDemo.pdb
文件 11608 2017-10-20 16:20 SeataFaceDemo\SeataFaceDemo\bin\Debug\SeataFaceDemo.vshost.exe
文件 490 2010-03-17 22:39 SeataFaceDemo\SeataFaceDemo\bin\Debug\SeataFaceDemo.vshost.exe.manifest
文件 168960 2017-10-20 16:19 SeataFaceDemo\SeataFaceDemo\bin\Debug\SeataFaceLibrary.dll
文件 1997 2017-10-20 16:27 SeataFaceDemo\SeataFaceDemo\Form1.cs
文件 10177 2017-10-20 16:24 SeataFaceDemo\SeataFaceDemo\Form1.Designer.cs
文件 6020 2017-10-20 16:24 SeataFaceDemo\SeataFaceDemo\Form1.resx
文件 789 2017-10-20 16:20 SeataFaceDemo\SeataFaceDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 5316 2017-10-20 16:27 SeataFaceDemo\SeataFaceDemo\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 561 2017-10-20 16:23 SeataFaceDemo\SeataFaceDemo\obj\x86\Debug\SeataFaceDemo.csproj.FileListAbsolute.txt
文件 847 2017-10-20 16:27 SeataFaceDemo\SeataFaceDemo\obj\x86\Debug\SeataFaceDemo.csproj.GenerateResource.Cache
文件 12288 2017-10-20 16:27 SeataFaceDemo\SeataFaceDemo\obj\x86\Debug\SeataFaceDemo.exe
文件 180 2017-10-20 16:27 SeataFaceDemo\SeataFaceDemo\obj\x86\Debug\SeataFaceDemo.Form1.resources
文件 26112 2017-10-20 16:27 SeataFaceDemo\SeataFaceDemo\obj\x86\Debug\SeataFaceDemo.pdb
文件 180 2017-10-20 16:23 SeataFaceDemo\SeataFaceDemo\obj\x86\Debug\SeataFaceDemo.Properties.Resources.resources
文件 474 2017-10-20 16:20 SeataFaceDemo\SeataFaceDemo\Program.cs
文件 1376 2017-10-20 16:20 SeataFaceDemo\SeataFaceDemo\Properties\AssemblyInfo.cs
............此处省略20个文件信息
- 上一篇:C# 双缓冲区实现解决屏幕闪烁问题
- 下一篇:C#访问sqlite并分页显示源码
相关资源
- C# 基于百度API的人脸识别登陆
- C#完整版人脸识别
- c#下完整的人脸识别
- 虹软人脸识别ArcFace 2.1 (C# 修改官方
- asp.net+websocket+emgucv实现人脸识别完整
- Unity+百度人脸识别程序包PC版exe
- 海康人脸识别C#远程采集人脸、下发人
- C# 海康人脸识别主机demo,64位可运行
- C# 人脸识别Demo基于虹软免费SDK完整版
- 利用Emgu.CV实现人脸识别详解 (C#)
- c# 人脸识别源码和使用说明
- C# emgucv人脸识别最新
- 人脸识别摄像头抓拍C#源码
- C#利用Emgu人脸识别Demo可直接运行
- 人脸识别C#源码
- 用C#做学习型人脸识别程序尝鲜版
- C#窗口实现百度云人脸识别
- 人脸识别源码C#
- C#实现的人工神经网络人脸识别 含完
- Emgu.CV 人脸识别
- 人脸识别c#
- Source c#实现的人脸识别程序
- FACE
- 人脸识别Demo系列免费、带离线——人
- 基于emgucv人脸识别
- C# 人脸识别 完整+数据库(基于百度云
- 基于本地电脑的人脸识别(可运行)
- 门禁监控(人脸识别)
- 人脸识别
- C#(Csharp)人脸识别Demo
评论
共有 条评论