feat: Add Camera Settings dialog for UVC controls and Qt parameters

- Implemented CameraSettingsDialog to manage UVC and Qt camera controls.
- Integrated UVC parameter sliders and auto controls for brightness, contrast, saturation, hue, sharpness, gamma, white balance, backlight compensation, and exposure.
- Added functionality to change white balance and exposure settings via Qt controls.
- Updated MainWindow to open CameraSettingsDialog and manage UVC controller lifecycle.
- Enhanced AppMenuBar to include a Camera Settings option.
- Created tests for UVC controller abstraction layer and parameter info.
- Documented camera specifications and supported features in new markdown files.
This commit is contained in:
2026-05-13 19:19:39 +02:00
parent d62416db4e
commit cdeac53555
12 changed files with 1756 additions and 118 deletions

182
notes/camera_elp.md Normal file
View File

@@ -0,0 +1,182 @@
# Camera Specification
## Model
**ELP-USB4KHDR01-MFV(5-50)**
(10X zoom manual lens)
### Optional
**ELP-USB4KHDR01-MFV(2.8-12)**
(2.8-12mm manual zoom lens)
---
## Sensor
- SONY IMX317 (1/2.5”)
## Max Resolution
- 3840(H) × 2160(V)
## Sensitivity
- 1000mV/Lux-sec
## Image Area
- 6100μm × 4524μm
## Picture Format
- MJPEG
- YUY2 (YUYV)
---
# Resolution & FPS
## MJPEG Modes
| Resolution | FPS |
|---|---|
| 3840×2160 | 30 fps |
| 2592×1944 | 30 fps |
| 2048×1536 | 30 fps |
| 1600×1200 | 30 fps |
| 1920×1080 | 30 fps |
| 1280×1024 | 30 fps |
| 1280×960 | 30 fps |
| 1280×720 | 30 fps |
| 1024×768 | 30 fps |
| 800×600 | 30 fps |
| 640×480 | 30 fps |
| 320×240 | 30 fps |
## YUY2 Modes
| Resolution | FPS |
|---|---|
| 3840×2160 | 1 fps |
| 2592×1944 | 1 fps |
| 2048×1536 | 3 fps |
| 1600×1200 | 3 fps |
| 1920×1080 | 3 fps |
| 1280×1024 | 3 fps |
| 1280×960 | 5 fps |
| 1280×720 | 5 fps |
| 1024×768 | 5 fps |
| 800×600 | 20 fps |
| 640×480 | 30 fps |
| 320×240 | 30 fps |
---
## Optical / Image Parameters
| Parameter | Value |
|---|---|
| Center Definition | 1000LW/PH (Center) |
| S/N Ratio | 26dB |
| Sensitivity | 0.65V/lux-sec@550nm |
| Low Illumination | 0.2lux |
| Shutter | Electronic rolling shutter / Frame exposure |
---
## Interface
- USB2.0 High Speed
---
## Supported Features
| Feature | Support |
|---|---|
| AEC | Yes |
| AEB | Yes |
| AGC | Yes |
---
## Adjustable Parameters
- Brightness
- Contrast
- Saturation
- Hue
- Sharpness
- Gamma
- White Balance
- Backlight Contrast
- Exposure
---
## Lens
- 2.8-12mm / 5-50mm varifocal manual lens optional
---
## Audio
- Built-in microphone
- Supports audio recording
---
## Power
| Parameter | Value |
|---|---|
| Power Supply | USB BUS POWER 4P-2.0mm socket |
| Voltage | DC5V |
| Current | 200mA |
---
## Physical Dimensions
- 45mm × 45mm × 50mm
---
## Temperature
| Parameter | Value |
|---|---|
| Storage Temperature | -20°C to 70°C |
| Working Temperature | 0°C to 60°C |
---
## USB Cable
- 3M standard
- Optional: 1M / 2M / 5M
---
# Supported Operating Systems
## Windows
- Windows XP
- Windows Vista
- Windows 7
- Windows 8
- Windows 10
- Windows 11
## Linux
- Linux with UVC support
- Kernel above linux-2.6.26
## macOS / Android
- macOS X 10.4.8 or later
- Android 4.0 or above with UVC