whyclj
2020-04-28 c6684a3cdecf2d537398787654b5add68b8cc2e3
webSockTest/src/com/fgkj/actions/FaceIdentify.java
@@ -24,13 +24,91 @@
    */
   public String faceDetect(){
      String str = FaceDetect.faceDetect(json);
      result = null;
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    *    人脸搜索
    * @return
    */
   public String faceSearch(){
      String str = FaceDetect.faceSearch(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 添加人脸
    * @return
    */
   public String faceAdd(){
      String str = FaceDetect.faceAdd(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 删除人脸
    * @return
    */
   public String faceDelete(){
      String str = FaceDetect.faceDelete(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 人脸更新
    * @return
    */
   public String faceUpdate(){
      String str = FaceDetect.faceUpdate(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 获取用户人脸列表
    * @return
    */
   public String faceGetList(){
      String str = FaceDetect.faceGetList(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 获取用户列表
    * @return
    */
   public String groupGetusers(){
      String str = FaceDetect.groupGetusers(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 获取人脸复制{用户从一个班组复制到另一个班组}
    * @return
    */
   public String faceCopy(){
      String str = FaceDetect.faceCopy(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 删除指定用户组下的指定用户
    * @return
    */
   public String userDelete(){
      String str = FaceDetect.userDelete(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   
   
   public String getResult() {
      return result;
   }