3.29人脸比对提交
parent
fcebcdb78d
commit
e06c7c8be0
|
@ -27,7 +27,7 @@ public class FaceCompareVO {
|
|||
private String image1;
|
||||
@ApiModelProperty(value = "人脸图片2")
|
||||
private String image2;
|
||||
@ApiModelProperty(value = "拓展字段")
|
||||
private String extraMeta;
|
||||
// @ApiModelProperty(value = "拓展字段")
|
||||
// private String extraMeta;
|
||||
|
||||
}
|
|
@ -169,7 +169,7 @@ public class CompareServiceImpl implements ICompareService {
|
|||
private void validateSingleFaceImage(String image) {
|
||||
//人脸检测url
|
||||
//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请求数据
|
||||
ReturnVO returnVO = (ReturnVO) httpUtil.post(faceSearchUrltest + "?url=" + image, null, ReturnVO.class);
|
||||
System.out.println(returnVO.getCode()+returnVO.getMessage());
|
||||
|
|
|
@ -7,7 +7,7 @@ spring:
|
|||
druid:
|
||||
#MySQL
|
||||
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
|
||||
password: Dkha123
|
||||
initial-size: 10
|
||||
|
@ -77,8 +77,10 @@ mybatis-plus:
|
|||
swagger:
|
||||
show: true
|
||||
face:
|
||||
warning-url: http://192.168.1.127:8889/face/warning/alarm
|
||||
bayonet-url: http://192.168.1.127:8889/face/warning/todayBayonetBySize
|
||||
warning-url: http://127.0.0.1:8889/face/warning/alarm
|
||||
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
|
||||
#返回一条比中数据即可
|
||||
|
@ -87,7 +89,8 @@ face:
|
|||
#人脸API统一请求地址定义
|
||||
api:
|
||||
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:
|
||||
result: 100
|
||||
|
@ -102,7 +105,11 @@ api:
|
|||
|
||||
#minio 配置
|
||||
minio:
|
||||
url: http://192.168.1.127:9000
|
||||
accessKey: admin
|
||||
secretKey: Dkha123.
|
||||
url: http://192.168.1.133:9000
|
||||
accessKey: minioadmin
|
||||
secretKey: minioadmin
|
||||
bucketName: middleware
|
||||
# url: http://192.168.1.127:9000
|
||||
# accessKey: admin
|
||||
# secretKey: Dkha123.
|
||||
# bucketName: middleware
|
||||
|
|
Loading…
Reference in New Issue