fix 依赖问题

This commit is contained in:
2024-05-07 18:10:43 +08:00
parent b4651bbb44
commit 3e4fb791cd
3 changed files with 15 additions and 8 deletions

View File

@@ -79,11 +79,9 @@ public class FaceController : ControllerBase
using var secondStream = new MemoryStream(secondBase64Bytes);
using var secondBitmap = SKBitmap.Decode(secondStream);
using var recognizer = new FaceRecognizer(new FaceRecognizeConfig
{
//<2F><>Ӧ<EFBFBD><D3A6>ֵ FaceType.Normal<61><6C>0.62<EFBFBD><EFBFBD>FaceType.Mask<73><6B>0.4<EFBFBD><EFBFBD>FaceType.Light<68><74>0.55
FaceType = FaceType.Normal
});
//<2F><>Ӧ<EFBFBD><D3A6>ֵ FaceType.Normal<61><6C>0.62<EFBFBD><EFBFBD>FaceType.Mask<73><6B>0.4<EFBFBD><EFBFBD>FaceType.Light<68><74>0.55
//FaceType = FaceType.Normal,
using var recognizer = new FaceRecognizer();
using var faceDetector = new FaceDetector();
using var faceMark = new FaceLandmarker();