| | |
| | | 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;
|
| | | }
|
| | | |
| | | public String getResult() {
|
| | | return result;
|
| | | }
|