feat: starting to build a application itself

add "capture" and "camera-tuning" commands for cli
This commit is contained in:
2026-04-07 13:28:20 +03:00
parent d0ecc31da2
commit 8cf1c89863
14 changed files with 2587 additions and 55 deletions
+82
View File
@@ -0,0 +1,82 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.EntityFrameworkCore.Migrations": "Warning",
"Microsoft.EntityFrameworkCore.Database.Command": "Warning",
"GSS2.Core.Hardware.LightsService": "Information",
"GSS2.Core.Hardware.IlluminatorService": "Information",
"GSS2.Core.Hardware.CameraService": "Information",
"LibCamera": "Information",
"LibCamera-Camera": "Information",
"LibCamera-RPI": "Information",
"LibCamera-DeviceEnumerator": "Information",
"LibCamera-IPAProxy": "Information",
"LibCamera-V4L2": "Information",
"LibCamera-RPISTREAM": "Information",
"LibCamera-WRAPPER": "Information",
"Avalonia.*": "Warning"
}
},
"ConnectionStrings": {
"AmineContentCalibrationDatabasePath": "AmineContentCalibration.db",
"AmineContentResultsDatabasePath": "AmineContentResults.db"
},
"Hardware": {
"Illuminator": {
"WhitePwmPin": 13,
"Uv254PwmPin": 18,
"Uv365PwmPin": 12,
"WhiteRelayPin": 16,
"Uv254RelayPin": 15,
"Uv365RelayPin": 20,
"FanPin": 21,
"PwmFrequency": 200,
"MaxWhitePwmDuty": 1.0,
"MaxUv254PwmDuty": 1.0,
"MaxUv365PwmDuty": 1.0
},
"Camera": {
"CameraId": "/base/axi/pcie@1000120000/rp1/i2c@70000/imx477@1a",
"ViewFinderFrameBufferCount": 5,
"ViewFinderWidth": 4056,
"ViewFinderHeight": 3040,
"ViewFinderFps": 30,
"ImageCaptureFrameBufferCount": 5,
"ImageCaptureWidth": 4056,
"ImageCaptureHeight": 3040,
"CameraHardSettings": {
"AeEnable": false,
"ExposureValue": 8.0,
"ExposureTime": 30000,
"ExposureTimeMode": "ExposureTimeModeManual",
"AnalogueGain": 23.0,
"AnalogueGainMode": "AnalogueGainModeManual",
"Brightness": 0.0,
"Contrast": 1.0,
"AwbEnable": false,
"ColourGains": [
3.2,
1.0
],
"HdrMode": "HdrModeOff",
"NoiseReductionMode": "NoiseReductionModeOff",
"StatsOutputEnable": true,
"SyncMode": "SyncModeOff",
"CnnEnableInputTensor": false
},
"DecodeGainR": 3.2,
"DecodeGainG": 1.0,
"DecodeGainB": 1.0,
"DecodeBlackLevel": 4096
},
"TemperatureHumidity": {
"Bus": 6,
"Address": 69
},
"Lights": {
"ServerAddress": "http://127.0.0.1:50051"
}
}
}