+0
日增长
+0
周增长
996
stars
234
forks
31
watchers
7
prs
99
issues
2
releases
README
ViewFaceCore
!GitHub stars
!GitHub forks
—— 💎 关于 | ⭐ 快速开始 | 🔧 构建 | 📦 包 | 🐟 API ——
—— 🔎 参考 | ❓ 问答 | 🧩 贡献 | 📄 许可 ——
💎 关于
- 一个基于 SeetaFace6 的 .NET 人脸识别解决方案
- 本项目受到了 SeetaFaceEngine.Net 的启发
- 开源、免费、跨平台
受支持的 .NET 框架 和 操作系统
| Target Framework | ViewFaceCore Version | operating system |
|:---------------------:|:--------------------:|:----------------------------------------:|
| .NET Framework = 4.0 | 0.3.7 | windows (x64/x86) |
| .NET Standard = 2.0 | 0.3.7 | windows (x64/x86) |
| .NET Core = 3.1 | 0.3.7 | windows (x64/x86), linux (arm/arm64/x64) |
| .NET = 5.0 | latest | windows (x64/x86), linux (arm/arm64/x64) |
⭐ 快速开始
- Examples
- 在 Windows x64 下, 快速集成人脸检测
1. 创建 .net6 控制台项目
1. 使用 Nuget 安装以下依赖
| 包名称 | 版本 | 说明 |
|:------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------|-----------------------------|
| ViewFaceCore | !Version | ViewFaceCore 核心包 |
| ViewFaceCore.model.face_detector | !Version | 人脸检测 模型包 |
| ViewFaceCore.runtime.win.x64 | !Version | Windows-x64 运行时包 |
| ViewFaceCore.Extension.SystemDrawing | !Version | System.Drawing 图像扩展包 |
1. 获取人脸信息
csharp
using System;
using System.Drawing;
using ViewFaceCore.Core;
using ViewFaceCore.Model;
namespace ViewFaceCore.Example.ConsoleApp;
internal class Program
{
static void Main(string[] args)
{
string imagePath = @"images/Jay_3.jpg";
using var bitmap = (Bitmap)Image.FromFile(imagePath);
using FaceDetector faceDetector = new FaceDetector();
FaceInfo[] infos = faceDetector.Detect(bitmap);
Console.WriteLine($"识别到的人脸数量:{infos.Length} 个人脸信息:\n");
Console.WriteLine($"No.\t人脸置信度\t位置信息");
for (int i = 0; i
Copyright (c) 2021, View | Copyright (c) 2019, SeetaTech
SeetaFace 开源版 可以免费用于商业和个人用途。如果需要更多的商业支持,请联系商务邮件 [email protected]Top issues
#90该项目还在维护么?[Feature]6 comments · 2023-07-19#79[Bug]Fatal error. System.AccessViolationException: Attempted to read or write protected memory5 comments · 2023-01-11#66疑问GlobalConfig方法在Nuget版本里没法调用5 comments · 2022-09-29#78This is often an indication that other memory is corrupt4 comments · 2022-12-25#93System.TypeInitializationException: The type initializer for 'ViewFaceCore.Native.ViewFaceNative' threw an exception.3 comments · 2023-10-17#97把0.4的正式版搞一下吧,再加上支持.NET8就好了2 comments · 2024-02-07#95发布到iis运行报错 “ViewFaceCore.Native.ViewFaceNative”的类型初始值设定项引发异常。"2 comments · 2023-12-14#83[Bug]多次调用后发生异常,请大佬指教2 comments · 2023-03-30
Latest release
0.3.7 0.3.7 2022-08-141. 支持中文目录