增加人脸-faceAddface*

返回内容介绍:
public static String sample(TAipFace client) throws Exception {
  String person_id = "20181001001";//指定的个体(Person)ID
  String tag= "个体增加人脸";//备注信息
  //参数为本地图片路径
  String imagePathA = "./User/xiaoshaui/face1.jpg";
  String imagePathB = "./User/xiaoshaui/face2.jpg";
  List<String> filePaths = new ArrayList<String>();
  filePaths.add(imagePathA );
  filePaths.add(imagePathB );
  String result = client.faceAddfaceByFilePath(filePaths,person_id ,tag);//增加人脸
  //参数为本地图片二进制数组
  List<byte[]> bytes = new ArrayList<byte[]>();
  byte [] faceA = FileUtil.readFileByBytes(imagePathA );
  byte [] faceB = FileUtil.readFileByBytes(imagePathB );
  bytes.add(faceA);
  bytes.add(faceB);
  String result = client.faceAddfaceByte(bytes,person_id ,tag);//增加人脸
  return result;
}