On-Device Vision Training, Deployment, and Inference on a Thumb-Sized Microcontroller
Technical summary
This research introduces an end-to-end vision machine learning pipeline designed to perform data acquisition, two-layer CNN training with Adam optimization, and real-time inference directly on low-cost microcontrollers. By utilizing approximately 1,750 lines of C++ code without external ML dependencies, the system enables complete on-device model lifecycles. Implemented on the ESP32-S3 XIAO, the architecture features PSRAM-aware memory management and optimized deployment workflows, allowing for rapid training and real-time classification performance within constrained hardware environments.
Key capabilities
- On-device two-layer CNN training
- Real-time image classification inference at 6.3 FPS
- Batch-level gradient accumulation
- Automated three-tier weight priority system
Capabilities are extracted only from the retrieved source. Nothing is inferred beyond what the source states.
Relevance to Smartsys
Deterministic score for Edge AI: pillar match +30, published within 12 months +30, source reliability High +30.
Score 90 / 100
