- Implemented mqtt_publisher_test.py for manual MQTT message publishing - Created mqtt_test.py to test MQTT message reception and display statistics - Developed test_api_changes.py to verify API changes for camera settings and filename handling - Added test_camera_recovery_api.py for testing camera recovery API endpoints - Introduced test_max_fps.py to demonstrate maximum FPS capture functionality - Implemented test_mqtt_events_api.py to test MQTT events API endpoint - Created test_mqtt_logging.py for enhanced MQTT logging and API endpoint testing - Added sdk_config.py for SDK initialization and configuration with error suppression
73 lines
1.8 KiB
JSON
73 lines
1.8 KiB
JSON
{
|
|
"mqtt": {
|
|
"broker_host": "192.168.1.110",
|
|
"broker_port": 1883,
|
|
"username": null,
|
|
"password": null,
|
|
"topics": {
|
|
"vibratory_conveyor": "vision/vibratory_conveyor/state",
|
|
"blower_separator": "vision/blower_separator/state"
|
|
}
|
|
},
|
|
"storage": {
|
|
"base_path": "/storage",
|
|
"max_file_size_mb": 1000,
|
|
"max_recording_duration_minutes": 60,
|
|
"cleanup_older_than_days": 30
|
|
},
|
|
"system": {
|
|
"camera_check_interval_seconds": 2,
|
|
"log_level": "DEBUG",
|
|
"log_file": "usda_vision_system.log",
|
|
"api_host": "0.0.0.0",
|
|
"api_port": 8000,
|
|
"enable_api": true,
|
|
"timezone": "America/New_York"
|
|
},
|
|
"cameras": [
|
|
{
|
|
"name": "camera1",
|
|
"machine_topic": "vibratory_conveyor",
|
|
"storage_path": "/storage/camera1",
|
|
"exposure_ms": 1.0,
|
|
"gain": 3.5,
|
|
"target_fps": 0,
|
|
"enabled": true,
|
|
"sharpness": 120,
|
|
"contrast": 110,
|
|
"saturation": 100,
|
|
"gamma": 100,
|
|
"noise_filter_enabled": true,
|
|
"denoise_3d_enabled": false,
|
|
"auto_white_balance": true,
|
|
"color_temperature_preset": 0,
|
|
"anti_flicker_enabled": true,
|
|
"light_frequency": 1,
|
|
"bit_depth": 8,
|
|
"hdr_enabled": false,
|
|
"hdr_gain_mode": 0
|
|
},
|
|
{
|
|
"name": "camera2",
|
|
"machine_topic": "blower_separator",
|
|
"storage_path": "/storage/camera2",
|
|
"exposure_ms": 1.0,
|
|
"gain": 3.5,
|
|
"target_fps": 0,
|
|
"enabled": true,
|
|
"sharpness": 120,
|
|
"contrast": 110,
|
|
"saturation": 100,
|
|
"gamma": 100,
|
|
"noise_filter_enabled": true,
|
|
"denoise_3d_enabled": false,
|
|
"auto_white_balance": true,
|
|
"color_temperature_preset": 0,
|
|
"anti_flicker_enabled": true,
|
|
"light_frequency": 1,
|
|
"bit_depth": 8,
|
|
"hdr_enabled": false,
|
|
"hdr_gain_mode": 0
|
|
}
|
|
]
|
|
} |