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