minio配置修改以及人脸检测接口修改
parent
9d7af74009
commit
6e3ab2612c
|
@ -159,10 +159,11 @@ public class CompareServiceImpl implements ICompareService {
|
|||
*/
|
||||
private void validateSingleFaceImage(String image) {
|
||||
//人脸检测url
|
||||
String faceSearchUrl = apiRequestPrefix + ApiUrlEnum.FACE_SEARCH.getUrl();
|
||||
//String faceSearchUrl = apiRequestPrefix + ApiUrlEnum.FACE_SEARCH.getUrl();
|
||||
String faceSearchUrltest = 192.168.3.132:5000/message/mask;
|
||||
//组装api请求数据
|
||||
ReturnVO returnVO;
|
||||
returnVO = (ReturnVO) httpUtil.post(faceSearchUrl + "?url=" + image, null, ReturnVO.class);
|
||||
returnVO = (ReturnVO) httpUtil.post(faceSearchUrltest + "?url=" + image, null, ReturnVO.class);
|
||||
if (returnVO.getCode() != 200) {
|
||||
throw new DkException(returnVO.getMessage());
|
||||
}
|
||||
|
|
|
@ -131,7 +131,7 @@ videotype: (mp4|flv|avi|rm|rmvb|wmv)
|
|||
|
||||
#minio 配置
|
||||
minio:
|
||||
url: http://192.168.1.161:9000
|
||||
accessKey: admin
|
||||
secretKey: Dkha123.
|
||||
url: http://192.168.1.133:9000
|
||||
accessKey: minioadmin
|
||||
secretKey: minioadmin
|
||||
bucketName: middleware
|
||||
|
|
Loading…
Reference in New Issue