3.29人脸比对提交
parent
fcebcdb78d
commit
e06c7c8be0
|
@ -27,7 +27,7 @@ public class FaceCompareVO {
|
||||||
private String image1;
|
private String image1;
|
||||||
@ApiModelProperty(value = "人脸图片2")
|
@ApiModelProperty(value = "人脸图片2")
|
||||||
private String image2;
|
private String image2;
|
||||||
@ApiModelProperty(value = "拓展字段")
|
// @ApiModelProperty(value = "拓展字段")
|
||||||
private String extraMeta;
|
// private String extraMeta;
|
||||||
|
|
||||||
}
|
}
|
|
@ -169,7 +169,7 @@ 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 ="http://192.168.3.134:5000/message/mask";
|
String faceSearchUrltest ="http://192.168.3.135:5000/message/mask";
|
||||||
//组装api请求数据
|
//组装api请求数据
|
||||||
ReturnVO returnVO = (ReturnVO) httpUtil.post(faceSearchUrltest + "?url=" + image, null, ReturnVO.class);
|
ReturnVO returnVO = (ReturnVO) httpUtil.post(faceSearchUrltest + "?url=" + image, null, ReturnVO.class);
|
||||||
System.out.println(returnVO.getCode()+returnVO.getMessage());
|
System.out.println(returnVO.getCode()+returnVO.getMessage());
|
||||||
|
|
|
@ -7,7 +7,7 @@ spring:
|
||||||
druid:
|
druid:
|
||||||
#MySQL
|
#MySQL
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
driver-class-name: com.mysql.jdbc.Driver
|
||||||
url: jdbc:mysql://192.168.1.127:3306/face_application?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://192.168.1.127:3306/face_application_23_3?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: Dkha123
|
password: Dkha123
|
||||||
initial-size: 10
|
initial-size: 10
|
||||||
|
@ -77,8 +77,10 @@ mybatis-plus:
|
||||||
swagger:
|
swagger:
|
||||||
show: true
|
show: true
|
||||||
face:
|
face:
|
||||||
warning-url: http://192.168.1.127:8889/face/warning/alarm
|
warning-url: http://127.0.0.1:8889/face/warning/alarm
|
||||||
bayonet-url: http://192.168.1.127:8889/face/warning/todayBayonetBySize
|
bayonet-url: http://127.0.0.1:8889/face/warning/todayBayonetBySize
|
||||||
|
# warning-url: http://192.168.1.127:8889/face/warning/alarm
|
||||||
|
# bayonet-url: http://192.168.1.127:8889/face/warning/todayBayonetBySize
|
||||||
#用于轨迹中比对最小比中分值
|
#用于轨迹中比对最小比中分值
|
||||||
minScore: 0.8
|
minScore: 0.8
|
||||||
#返回一条比中数据即可
|
#返回一条比中数据即可
|
||||||
|
@ -87,7 +89,8 @@ face:
|
||||||
#人脸API统一请求地址定义
|
#人脸API统一请求地址定义
|
||||||
api:
|
api:
|
||||||
server:
|
server:
|
||||||
prefix: http://192.168.1.127:8013/dkha/
|
prefix: http://192.168.1.196:5001/
|
||||||
|
# prefix: http://192.168.1.127:8013/dkha/
|
||||||
#人脸检索最大返回值
|
#人脸检索最大返回值
|
||||||
max:
|
max:
|
||||||
result: 100
|
result: 100
|
||||||
|
@ -102,7 +105,11 @@ api:
|
||||||
|
|
||||||
#minio 配置
|
#minio 配置
|
||||||
minio:
|
minio:
|
||||||
url: http://192.168.1.127:9000
|
url: http://192.168.1.133:9000
|
||||||
accessKey: admin
|
accessKey: minioadmin
|
||||||
secretKey: Dkha123.
|
secretKey: minioadmin
|
||||||
bucketName: middleware
|
bucketName: middleware
|
||||||
|
# url: http://192.168.1.127:9000
|
||||||
|
# accessKey: admin
|
||||||
|
# secretKey: Dkha123.
|
||||||
|
# bucketName: middleware
|
||||||
|
|
Loading…
Reference in New Issue