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.2 KiB
YAML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

spring:
application:
name: LxCameraApi
server:
port: 8097
# 日志配置
logging:
config: classpath:logback-spring.xml
level:
root: INFO
com.example.lxcameraapi: DEBUG
file:
name: logs/lxcamera-api.log
#两台相机
lxCamera:
- id: 1
ip: 192.168.100.82
# 1左2右
direction: 1
# 图片保存路径
# 校准文件路径
calibratePath: "D://data/cj.json"
# 品规配置文件
configPath: "E://go/lxCamera/conf"
# 切割配置。浅货位的配置,若切割后个数多与500个,则认为有个数
convertConfPath: "E://pz.json"
#两台相机
hikCamera:
- id: 1
ip: 192.168.100.89
imageSize: 640
swagger:
enabled: true
# 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路径
deleteFile:
# cron: "0/5 * * * * ?"
cron: "0 * * * 1 ? "
path:
- "D://go/deleteFile"
day: 7
picPath: "D:/data/media/"
picUrl: "http://192.168.100.110:9012/pic/"
serve:
ip: 192.168.100.99
port: 48080
singleInventoryReturnPath: "/admin-api/logistics/StockController/singleInventoryReturn"
singleInventoryQrCodeReturnPath: "/admin-api/logistics/StockController/singleInventoryQrCodeReturn"
yoloModelConfig:
# 模型地址
modelPath: "E:/10/best.onnx"
# 图片大小
imgSize: 1024
# 置信度
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.9
names: ['code']