Files
OrpaonVision/OrpaonVision.SiteApp/appsettings.json
2026-04-06 22:04:05 +08:00

43 lines
1.1 KiB
JSON

{
"Runtime": {
"TotalLayers": 4,
"CameraId": "CAM-01",
"NgConfidenceThreshold": 0.6
},
"HikCamera": {
"RunMode": "Mock",
"SerialNumber": "",
"IpAddress": "",
"UserName": "admin",
"Password": "admin",
"ConnectTimeoutMs": 5000,
"GrabTimeoutMs": 3000,
"ImageWidth": 1920,
"ImageHeight": 1080,
"PixelFormat": "BGR8Packed",
"TriggerMode": 0,
"AutoReconnectCount": 3,
"AutoReconnectIntervalMs": 1000,
"SdkLibraryPath": "C:\\Program Files (x86)\\MVS\\Development\\Libraries\\win64",
"SdkDriverPath": "C:\\Program Files (x86)\\MVS\\Development\\Drivers\\win64"
},
"YoloInference": {
"RunMode": "Mock",
"ModelPath": "models/yolo.onnx",
"LabelsPath": "models/labels.txt",
"ConfidenceThreshold": 0.5,
"NmsThreshold": 0.45,
"InputWidth": 640,
"InputHeight": 640,
"UseGpu": false,
"GpuDeviceId": 0,
"BatchSize": 1,
"ModelType": "ONNX",
"EnableWarmup": true,
"WarmupCount": 3,
"InferenceEngine": "YoloDotNet",
"OnnxRuntimeProvider": "CPU",
"ModelVersion": "v1.0"
}
}