VCarContainer/config/config.yaml

121 lines
3.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 基础控制参数
base:
# 股道名称
track_name: "1门"
# 测试模式
test_model: false
# Api 监听端口
api_port: 7070
# 日志文件目录
log_path: "./logs"
# 识别结果目录
result_path: "./result"
# 调试结果目录
debug_result_path: "./debug_result"
# 结果存储天数
result_save_days: 10
# 日志参数
log:
# 输出日志级别[DEBUG, INFO, WARN, ERROR, FATAL]
out_level: "DEBUG"
# 保存日志级别
save_level: "DEBUG"
# 数据源参数
data_source:
- # 顶部摄像头(必须顶部摄像头)
url: "./videos/buertai2.mp4"
# 跳帧数
skip_interval: 3
# 识别区域
identify_areas: [120, 0, 1800, 1080]
# 切箱方式
divide_mode: "corner" #[corner, pixel]
# 汽车行进方向
run_direction: "down" #[up, down, left, right]
- # 侧部摄像头
url: "./videos/buertai2.mp4"
# 跳帧数
skip_interval: 3
# 识别区域
identify_areas: [ 120, 0, 1800, 1080 ]
# 切箱方式
divide_mode: "pixel" #[corner, pixel]
# 汽车行进方向
run_direction: "right" #[up, down, left, right]
- # 侧边摄像头
url: "./videos/buertai2.mp4"
# 跳帧数
skip_interval: 3
# 识别区域
identify_areas: [ 120, 0, 1800, 1080 ]
# 切箱方式
divide_mode: "pixel" #[corner, pixel]
# 汽车行进方向
run_direction: "left" #[up, down, left, right]
# 识别参数
identify:
# 切箱方式
divide_mode: "corner" #[corner, pixel]
# 大框帧跨度(比一个大框从出现到消失的跨度稍大一点, 跟跳帧有关系)
partition_frame_span: 0
# 顶部Y轴大框帧跨度的位置像素差异
top_y_split_span_px: 200
# 侧边X轴大框帧跨度的位置像素差异
side_x_split_span_px: 600
# 每帧大框位置差异最小值 (持续小于此值,则可能停车)
chkstop_px: 15
# 持续X次续位置差异小于gc_chkstop_px则判断为停车。
chkstop_count: 10
# 过滤最小大框高度(不需要的话就写个很小的值)
target_min_height: 95
# 过滤最小大框宽度(不需要的话就写个很小的值)
target_min_width: 50
# 过滤低于指定Y轴的大框
target_min_y: 550
# 单次识别最大帧数
max_identify_frame: 600
# 两个箱子的箱角最大差值X
max_container_space_x: 600
# 两个箱子的箱角最大差值Y
max_container_space_y: 500
# websocket_server 的服务端参数
wsocket_server:
is_use: false
port: 7071
max_queue_len: 10
# http 接口
http_server:
# 使用状态
is_use: false
# 服务器IP
http_ip: 192.168.2.108
# 通讯端口
http_port: 20004
# 获取接口授权地址
token_path: "/api/blade-auth/oauth/token"
# 识别结果上传地址
up_result_path: "/api/train-carriage/identification/rfid-save"
# 设备状态上传地址
device_status_url: ""
# 接口用户名
username: "guest_01"
# 接口密码
password: "d55b0f642e817eea24725d2f2a31dd08"
# minio 服务配置
minio:
# 使用状态
is_use: false
# 服务地址
url: "http://192.168.32.134:19000"
# 通讯授权
accesskey: "OpgVbHoeDLUBWjQkN3NS"
# 密钥授权
secretkey: "fc0sDwKTq2N7ZVl2iJk36WUZgL5EtNLTjRVtIzNM"
# 容器名
bucket: "train"