瀏覽代碼

//

private_deployment
xhxu 1 年之前
父節點
當前提交
d8ca4ad714
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      suimangService/src/main/java/com/iformall/sm/AiDigitalAvatarHelper.java

+ 4
- 4
suimangService/src/main/java/com/iformall/sm/AiDigitalAvatarHelper.java 查看文件

@@ -33,8 +33,8 @@ public class AiDigitalAvatarHelper {


public static AiCheckPhotoResult checkPhoto(AiCheckPhotoParam param) {
String response = HttpUtil.doAiVideoPost("http://nas.pucao.cn:2005/dec_face", JSONObject.toJSONString(param));
// String response = HttpUtil.doAiVideoPost(digital_avatar + "/dec_face", JSONObject.toJSONString(param));
// String response = HttpUtil.doAiVideoPost("http://nas.pucao.cn:2005/dec_face", JSONObject.toJSONString(param));
String response = HttpUtil.doAiVideoPost(digital_avatar + "/dec_face", JSONObject.toJSONString(param));
log.info("图片人脸检测 end response:" + response);
AiCheckPhotoResult result = new AiCheckPhotoResult();

@@ -70,8 +70,8 @@ public class AiDigitalAvatarHelper {
param.setCallback_url("https://phototest.metavatar.cc/C/callback/photo/speak");
// param.setCallback_url(callbackUrl + "/callback/photo/speak");
// log.info("生成照片start request:" + param.getBg_img());
String response = HttpUtil.doAiVideoPost("http://nas.pucao.cn:2005/make_face", JSONObject.toJSONString(param));
// String response = HttpUtil.doAiVideoPost(digital_avatar + "/make_face", JSONObject.toJSONString(param));
// String response = HttpUtil.doAiVideoPost("http://nas.pucao.cn:2005/make_face", JSONObject.toJSONString(param));
String response = HttpUtil.doAiVideoPost(digital_avatar + "/make_face", JSONObject.toJSONString(param));
log.info("生成照片end response:"+response);

DigitalAvatarResult result = new DigitalAvatarResult();


Loading…
取消
儲存