-
Notifications
You must be signed in to change notification settings - Fork 229
[Bug] 使用1279*1706分辨率人脸图片无法检测到人脸数据 #104
Copy link
Copy link
Open
Labels
bug / 漏洞Something isn't working / 不能正常运作Something isn't working / 不能正常运作
Description
简明描述
使用1279*1706分辨率人脸图无法检测到人脸数据
重现步骤
//无法检测人脸信息 infos0.length==0 ,可以将图片大小设置更显分辨率才能检测
using var faceImage0 = SKBitmap.Decode(imagePath).ToFaceImage();
using FaceDetector faceDetector = new FaceDetector();
FaceInfo[] infos0 = faceDetector.Detect(faceImage0);
//使用SixLabors.ImageSharp 可以检测到
var bitmap=SixLabors.ImageSharp.Image.Load(imagePath);
var pixelBytes = new byte[bitmap.Width * bitmap.Height * 3];
bitmap.CopyPixelDataTo(pixelBytes);
var faceImage = new FaceImage(bitmap.Width, bitmap.Height, 3, pixelBytes);
开发环境
- 目标框架: .net 8
- 项目类型 [ASP.NET Core API]
相关包清单
- [e.g. ViewFaceCore 0.4.0-alpha4]
- [e.g. ViewFaceCore.model.face_detector 6.0.7]
运行环境
- 操作系统: [e.g. Windows 10 专业版]
- 系统类型: [e.g. 64 位操作系统, 基于 x64 的处理器]
- 处理器: [e.g. Intel(R) Core(TM) i7-9750H]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug / 漏洞Something isn't working / 不能正常运作Something isn't working / 不能正常运作