Enhance API server configuration: add auto-recording settings and improve image quality parameters
This commit is contained in:
9
.gitignore
vendored
9
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
# Python
|
||||
__pycache__/
|
||||
**/__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
*.so
|
||||
@@ -59,8 +60,8 @@ config_production.json
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Camera SDK cache
|
||||
camera_sdk/__pycache__/
|
||||
# Camera SDK cache (covered by **/__pycache__/ above)
|
||||
# camera_sdk/__pycache__/
|
||||
|
||||
# Test outputs
|
||||
test_output/
|
||||
@@ -83,7 +84,7 @@ Thumbs.db
|
||||
# old tests/
|
||||
Camera/log/*
|
||||
|
||||
# Python cache
|
||||
*/__pycache__/*
|
||||
# Python cache (covered by **/__pycache__/ above)
|
||||
# */__pycache__/*
|
||||
old tests/Camera/log/*
|
||||
old tests/Camera/Data/*
|
||||
|
||||
@@ -335,20 +335,30 @@ class APIServer:
|
||||
machine_topic=config.machine_topic,
|
||||
storage_path=config.storage_path,
|
||||
enabled=config.enabled,
|
||||
# Auto-recording settings
|
||||
auto_start_recording_enabled=config.auto_start_recording_enabled,
|
||||
auto_recording_max_retries=config.auto_recording_max_retries,
|
||||
auto_recording_retry_delay_seconds=config.auto_recording_retry_delay_seconds,
|
||||
# Basic settings
|
||||
exposure_ms=config.exposure_ms,
|
||||
gain=config.gain,
|
||||
target_fps=config.target_fps,
|
||||
# Image Quality Settings
|
||||
sharpness=config.sharpness,
|
||||
contrast=config.contrast,
|
||||
saturation=config.saturation,
|
||||
gamma=config.gamma,
|
||||
# Noise Reduction
|
||||
noise_filter_enabled=config.noise_filter_enabled,
|
||||
denoise_3d_enabled=config.denoise_3d_enabled,
|
||||
# Color Settings
|
||||
auto_white_balance=config.auto_white_balance,
|
||||
color_temperature_preset=config.color_temperature_preset,
|
||||
# Advanced Settings
|
||||
anti_flicker_enabled=config.anti_flicker_enabled,
|
||||
light_frequency=config.light_frequency,
|
||||
bit_depth=config.bit_depth,
|
||||
# HDR Settings
|
||||
hdr_enabled=config.hdr_enabled,
|
||||
hdr_gain_mode=config.hdr_gain_mode,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user