From f17b9af381df693428022d915dc51f670aef64a7 Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期二, 10 六月 2025 11:33:58 +0800 Subject: [PATCH] Update Sys_UserFaceService.cs --- project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs index 6c62ad4..9b18838 100644 --- a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs +++ b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs @@ -260,10 +260,10 @@ //result = FaceCompare.FaceIdentifyByBuffer(image, groupIdList, userId); break; case "url": - result = FaceCompare.FaceIdentify(image, groupIdList, userId); + //result = FaceCompare.FaceIdentify(image, groupIdList, userId); break; case "token": - result = FaceCompare.FaceIdentifyByFeature(image, groupIdList, userId); + //result = FaceCompare.FaceIdentifyByFeature(image, groupIdList, userId); break; default: break; @@ -281,9 +281,11 @@ { try { - var result = FaceCompare.match(file1, file2); - string buf = Marshal.PtrToStringAnsi(result); - return buf; + //var result = FaceCompare.match(file1, file2); + //string buf = Marshal.PtrToStringAnsi(result); + //return buf; + + return string.Empty; // 杩欓噷闇�瑕佹浛鎹负瀹為檯鐨勪汉鑴告瘮瀵归�昏緫 } catch (Exception e) { -- Gitblit v1.9.3