- Updated CameraStreamer to configure streaming settings from config.json, including manual exposure, gain, image quality, noise reduction, and color settings. - Added new methods in CameraStreamer for configuring image quality, noise reduction, color settings, and advanced settings. - Extended CameraConfig to include manual white balance RGB gains. - Improved AutoRecordingManager to handle camera status updates and ensure proper recording starts/stops based on machine state changes. - Created detailed configuration documentation for blower and conveyor cameras, outlining settings and their mappings to config.json. - Implemented a comprehensive test script for auto-recording functionality with simulated MQTT messages, verifying correct behavior on machine state changes.
AI Agent Resources
This directory contains resources specifically designed to help AI agents understand and work with the USDA Vision Camera System.
Directory Structure
/guides/
Contains comprehensive guides for AI agents:
AI_AGENT_INSTRUCTIONS.md- Specific instructions for AI agents working with this systemAI_INTEGRATION_GUIDE.md- Guide for integrating AI capabilities with the camera system
/examples/
Contains practical examples and demonstrations:
demos/- Python demo scripts showing various system capabilitiesnotebooks/- Jupyter notebooks with interactive examples and tests
/references/
Contains API references and technical specifications:
api-endpoints.http- HTTP API endpoint examplesapi-tests.http- API testing examplesstreaming-api.http- Streaming API examplescamera-api.types.ts- TypeScript type definitions for the camera API
Key Learning Resources
- System Architecture: Review the main system structure in
/usda_vision_system/ - Configuration: Study
config.jsonfor system configuration options - API Documentation: Check
/docs/api/for API specifications - Feature Guides: Review
/docs/features/for feature-specific documentation - Test Examples: Examine
/tests/for comprehensive test coverage
Quick Start for AI Agents
- Read
guides/AI_AGENT_INSTRUCTIONS.mdfirst - Review the demo scripts in
examples/demos/ - Study the API references in
references/ - Examine test files to understand expected behavior
- Check configuration options in the root
config.json
System Overview
The USDA Vision Camera System is a multi-camera monitoring and recording system with:
- Real-time camera streaming
- MQTT-based automation
- Auto-recording capabilities
- RESTful API interface
- Web-based camera preview
- Comprehensive logging and monitoring
For detailed system documentation, see the /docs/ directory.