feat: camera tuning + capturing command + raw image correction

This commit is contained in:
2026-02-17 14:42:50 +03:00
parent 9c4f12d45e
commit 5b8db82894
7 changed files with 579 additions and 70 deletions
+11 -23
View File
@@ -32,7 +32,7 @@
"Uv365RelayPin": 20,
"FanPin": 21,
"PwmFrequency": 200,
"MaxWhitePwmDuty": 0.03,
"MaxWhitePwmDuty": 0.05,
"MaxUv254PwmDuty": 1.0,
"MaxUv365PwmDuty": 1.0
},
@@ -48,39 +48,27 @@
"CameraHardSettings": {
"AeEnable": false,
"ExposureValue": 8.0,
"ExposureTime": 1000000,
"ExposureTime": 30000,
"ExposureTimeMode": "ExposureTimeModeManual",
"AnalogueGain": 1.0,
"AnalogueGain": 23.0,
"AnalogueGainMode": "AnalogueGainModeManual",
"AeFlickerMode": "FlickerOff",
"AeFlickerPeriod": 5000,
"Brightness": 0.0,
"Contrast": 1.0,
"AwbEnable": true,
"AwbEnable": false,
"ColourGains": [
3.3,
1.5
],
"ColourTemperature": 5500,
"Saturation": 1.0,
"Sharpness": 1.0,
"ScalerCrop": [
0,
0,
4056,
3040
],
"FrameDurationLimits": [
100000,
694434742
1.2,
1.0
],
"HdrMode": "HdrModeOff",
"NoiseReductionMode": "NoiseReductionModeOff",
"StatsOutputEnable": true,
"SyncMode": "SyncModeOff",
"SyncFrames": 1,
"CnnEnableInputTensor": false
}
},
"DecodeGainR": 3.2,
"DecodeGainG": 1.0,
"DecodeGainB": 1.0,
"DecodeBlackLevel": 4096
},
"TemperatureHumidity": {
"Bus": 6,