- Implemented test script for camera streaming functionality, covering API endpoints and concurrent recording. - Created time verification script to check system time synchronization against multiple APIs. - Developed timezone utility tests to validate timezone functions and logging. - Added integration tests for system components, including configuration, camera discovery, and API endpoints. - Enhanced MQTT logging and API endpoint tests for machine and MQTT status. - Established auto-recording tests to simulate state changes and verify automatic recording behavior. - Created simple tests for auto-recording configuration and API model validation.
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.