You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxCameraApi/src/main/resources/application.yml

82 lines
2.1 KiB
YAML

spring:
application:
name: LxCameraApi
server:
port: 8097
7 months ago
# 日志配置
logging:
config: classpath:logback-spring.xml
level:
root: INFO
com.example.lxcameraapi: DEBUG
file:
name: logs/lxcamera-api.log
#两台相机
lxCamera:
- id: 1
7 months ago
ip: 192.168.100.82
1 year ago
# 1左2右
direction: 1
7 months ago
# 图片保存路径
# 校准文件路径
calibratePath: "D://data/cj.json"
# 品规配置文件
configPath: "E://go/lxCamera/conf"
1 year ago
# 切割配置。浅货位的配置,若切割后个数多与500个,则认为有个数
convertConfPath: "E://pz.json"
7 months ago
#两台相机
hikCamera:
- id: 1
ip: 192.168.100.89
imageSize: 640
swagger:
1 year ago
enabled: true
7 months ago
# SpringDoc OpenAPI 配置
springdoc:
api-docs:
enabled: true # 是否启用API文档生成
path: /v3/api-docs # API文档路径
swagger-ui:
enabled: true # 是否启用Swagger UI
path: /swagger-ui.html # Swagger UI路径
1 year ago
deleteFile:
7 months ago
# cron: "0/5 * * * * ?"
cron: "0 * * * 1 ? "
1 year ago
path:
- "D://go/deleteFile"
7 months ago
day: 7
7 months ago
picPath: "D:/data/media/"
picUrl: "http://127.0.0.1:9012/pic/"
7 months ago
serve:
ip: 127.0.0.1
port: 48080
singleInventoryReturnPath: "/admin-api/logistics/StockController/singleInventoryReturn"
singleInventoryQrCodeReturnPath: "/admin-api/logistics/StockController/singleInventoryQrCodeReturn"
7 months ago
yoloModelConfig:
# 模型地址
6 months ago
modelPath: "E:/10/best.onnx"
7 months ago
# 图片大小
imgSize: 1024
7 months ago
# 置信度
confThreshold: 0.5
names: ['0143','0153','0173','0177','0191','0253','0256','0266','0268','0286','0302','0304','0305','0307','0320','0326','0336','0339','0343','0352','0458','0461','0462','0473','0477','0486','0490','0492','0930','1101','1102','1104','1262','1269','1302','1308','1359','1366','1622','1625','1919','1976','20','2165','2188','2210','2224','2445','2476','2611','2730','2731','2910','2914','2943','3027','3028','3029','3212','3226','3344','3501','3509','3538','3725','3741','3751','3754','3763','3766','3808']
modelMap:
qrCode: # 模型地址
modelPath: "D:/git/测试/lxCameraApi/yolo/best.onnx"
# 图片大小
imgSize: 2048
# 置信度
confThreshold: 0.95
names: ['code']