人脸识别领料
This commit is contained in:
parent
04a0762978
commit
e6b5e14978
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue