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
|
# Python
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
**/__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*$py.class
|
*$py.class
|
||||||
*.so
|
*.so
|
||||||
@@ -59,8 +60,8 @@ config_production.json
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
# Camera SDK cache
|
# Camera SDK cache (covered by **/__pycache__/ above)
|
||||||
camera_sdk/__pycache__/
|
# camera_sdk/__pycache__/
|
||||||
|
|
||||||
# Test outputs
|
# Test outputs
|
||||||
test_output/
|
test_output/
|
||||||
@@ -83,7 +84,7 @@ Thumbs.db
|
|||||||
# old tests/
|
# old tests/
|
||||||
Camera/log/*
|
Camera/log/*
|
||||||
|
|
||||||
# Python cache
|
# Python cache (covered by **/__pycache__/ above)
|
||||||
*/__pycache__/*
|
# */__pycache__/*
|
||||||
old tests/Camera/log/*
|
old tests/Camera/log/*
|
||||||
old tests/Camera/Data/*
|
old tests/Camera/Data/*
|
||||||
|
|||||||
@@ -335,20 +335,30 @@ class APIServer:
|
|||||||
machine_topic=config.machine_topic,
|
machine_topic=config.machine_topic,
|
||||||
storage_path=config.storage_path,
|
storage_path=config.storage_path,
|
||||||
enabled=config.enabled,
|
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,
|
exposure_ms=config.exposure_ms,
|
||||||
gain=config.gain,
|
gain=config.gain,
|
||||||
target_fps=config.target_fps,
|
target_fps=config.target_fps,
|
||||||
|
# Image Quality Settings
|
||||||
sharpness=config.sharpness,
|
sharpness=config.sharpness,
|
||||||
contrast=config.contrast,
|
contrast=config.contrast,
|
||||||
saturation=config.saturation,
|
saturation=config.saturation,
|
||||||
gamma=config.gamma,
|
gamma=config.gamma,
|
||||||
|
# Noise Reduction
|
||||||
noise_filter_enabled=config.noise_filter_enabled,
|
noise_filter_enabled=config.noise_filter_enabled,
|
||||||
denoise_3d_enabled=config.denoise_3d_enabled,
|
denoise_3d_enabled=config.denoise_3d_enabled,
|
||||||
|
# Color Settings
|
||||||
auto_white_balance=config.auto_white_balance,
|
auto_white_balance=config.auto_white_balance,
|
||||||
color_temperature_preset=config.color_temperature_preset,
|
color_temperature_preset=config.color_temperature_preset,
|
||||||
|
# Advanced Settings
|
||||||
anti_flicker_enabled=config.anti_flicker_enabled,
|
anti_flicker_enabled=config.anti_flicker_enabled,
|
||||||
light_frequency=config.light_frequency,
|
light_frequency=config.light_frequency,
|
||||||
bit_depth=config.bit_depth,
|
bit_depth=config.bit_depth,
|
||||||
|
# HDR Settings
|
||||||
hdr_enabled=config.hdr_enabled,
|
hdr_enabled=config.hdr_enabled,
|
||||||
hdr_gain_mode=config.hdr_gain_mode,
|
hdr_gain_mode=config.hdr_gain_mode,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user