SEMS-system-guardian/.env

67 lines
1.7 KiB
Bash
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.

#################################
# 数据收集相关配置
################################
#光谱相机设备型号索引
SPECTRUM_deviceTypeIndex=1
#光谱相机帧率
SPECTRUM_FrameRate=4.0
#光谱相机曝光时间
SPECTRUM_ExposureTime=10.0
#光谱相机空间像素组合设置为0空间维度为10241为5122为2563为128
SPECTRUM_BinningSpatial=1
#光谱相机光谱像素组合设置为0光谱维度为4481为2242为1123为56
SPECTRUM_BinningSpectral=1
#是否开启像素组合1为开启0为不开启
SPECTRUM_BinningAverage=1
#循环缓存区大小
SPECTRUM_RingBufferSize=2
#原始光谱数据保存路径
RAWDATA_Folder=C:/tmp/
# 每个原始光谱数据bin文件最大多少Byte, 10737418240 是10G( 10*1024*1024*1024)10485760是10M
RAWDATA_MaxSize=10737418240
#################################
# 后台服务相关配置
################################
#设备ID
NEXT_PUBLIC_DEVICE_ID=DOJHBG
#设备名字备注
NEXT_PUBLIC_DEVICE_NAME=办公室测试设备
#设备ID
ON_DEVICE_SERVER_PORT=22110
#推理服务的API
MODEL_INFERENCE_API=http://sems-model-inference:22111/post
#将炉次数据回传的API
# FURNACE_UPLOAD_API=https://3.u1227383.nyat.app:25889/api/upload
FURNACE_UPLOAD_API=http://10.8.8.8:22114/api/upload
# VIDEO_
# spectral_camera_configs:
# deviceTypeIndex: 1
# FrameRate: 4.0
# ExposureTime: 10.0
# BinningSpatial: 1
# BinningSpectral: 1
# BinningAverage: true
# RingBufferSize: 2
# visible_light_camera_configs:
# enable: false
# video_capture_index: 0
# save_configs:
# save_dir: C:/tmp/
# max_file_size: 10737418240 # 1073741824 # 10*1024*1024*1024 = 10GB 10737418240 10485760(10M)