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://127.0.0.1:9012/pic/" yoloModelConfig: # 模型地址 modelPath: "D:/PycharmProjects/yolo/runs/detect/train22/weights/best.onnx" # 图片大小 imgSize: 640 # 置信度 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']