Files
SpectraElement/HardwareWeb/appsettings.json
T

66 lines
1.4 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"UsbCamera": {
"DeviceNameKeyword": null,
"PreferredFormatKeyword": "MJPG",
"ReconnectBaseDelayMs": 1000,
"ReconnectMaxDelayMs": 10000,
"FrameTimeoutMs": 5000
},
"ArisSpectrometer": {
"DeviceIndex": 0,
"PreferredSerialNumber": null,
"ExposureUs": 1000,
"Averaging": 1,
"DelayUs": 0,
"TimeoutMs": 0,
"SynchronizedExposureUs": 1000000,
"SynchronizedWaitTimeoutMs": 8000,
"TriggerMode": "Software",
"Gain": null,
"SdkLogEnabled": false
},
"AxisStage": {
"ComPort": null,
"FrameHead": "Desktop2D",
"DefaultSpeed": 50,
"DefaultAccel": 10,
"ReadTimeoutMs": 1000,
"ReadRetryIntervalMs": 50
},
"FocusSystem": {
"ComPort": null,
"DefaultCalibrationSpeed": 50,
"ReadTimeoutMs": 1000,
"ReadRetryIntervalMs": 100
},
"CameraStream": {
"Enabled": true,
"FramesPerSecond": 15,
"SendOnlyWhenViewers": true,
"MaxFrameAgeMs": 1500,
"MaxFrameBytes": 8388608
},
"SystemSetting": {
"DatabasePath": null,
"AdminPassword": "flzx3QC!1"
},
"SampleAnalysis": {
"Onnx": {
"ModelDirectory": "Models",
"InputWidth": 640,
"InputHeight": 640,
"ConfidenceThreshold": 0.25,
"FallbackConfidenceThreshold": 0.6,
"MaskThreshold": 0.5,
"SamplingMarginRatio": 0.1
}
}
}