change path image
This commit is contained in:
@@ -81,7 +81,7 @@ class ListManagementController extends Controller {
|
||||
if ($add) {
|
||||
$features = json_decode(common::requestToEngine("/get-feature", [
|
||||
"image_paths" => [
|
||||
["url" => "/home/sonhh/Pictures/10929_HongBI.jpg", "type" => "raw"]
|
||||
["url" => "/var/www/html/BiFace_Server_Lite/web/data/uploads/face/" . $url, "type" => "raw"]
|
||||
]
|
||||
]), true);
|
||||
$images[] = ["url" => $url, "features" => $features['results'][0]['feature']];
|
||||
@@ -92,7 +92,7 @@ class ListManagementController extends Controller {
|
||||
} else {
|
||||
$features = json_decode(common::requestToEngine("/get-feature", [
|
||||
"image_paths" => [
|
||||
["url" => "sex.png", "type" => "raw"]
|
||||
["url" => "/var/www/html/BiFace_Server_Lite/web/data/uploads/face/" . $url, "type" => "raw"]
|
||||
]
|
||||
]), true);
|
||||
$data['image'] = json_encode([
|
||||
|
||||
Reference in New Issue
Block a user