人脸识别领料

This commit is contained in:
李超 2025-09-06 14:38:16 +08:00
parent 04a0762978
commit e6b5e14978
1 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@
} }
if (!string.IsNullOrEmpty(person.PhotoUrl)) if (!string.IsNullOrEmpty(person.PhotoUrl))
{ {
imgPhoto1.ImageUrl = person.PhotoUrl; imgPhoto1.ImageUrl = "~/" + person.PhotoUrl;
} }
} }
else else
@ -260,7 +260,7 @@
public string PersonFace(Model.HJGL_BS_Welder person) public string PersonFace(Model.HJGL_BS_Welder person)
{ {
string message = string.Empty; string message = string.Empty;
string filePath = Server.MapPath(person.PhotoUrl); string filePath = Server.MapPath("~/")+person.PhotoUrl;
List<SgManager.AI.faceResult> kqFace = null; List<SgManager.AI.faceResult> kqFace = null;
try try
{ {