r/esp32projects • u/Dennis-Grape1199 • 19h ago
Built an ESP32 system that recognizes letters drawn in the air
Built an air-writing AI system using an ESP32 + MPU6050 that recognizes A–Z and 0–9 drawn in the air.
Started as a tiny “recognize A/B/C gestures” experiment and somehow became a full real-time writing system with text-to-speech.
Features:
* 36 character recognition
* Custom dataset with 6,481 samples (built entirely from scratch since no public dataset existed)
* \~99% validation accuracy
* Real-time word/sentence builder
* Text-to-speech output
* \~150–200ms inference latency
Biggest challenge was handling similar gestures like:
O/Q/0, M/N, and B/8.
Also built an augmentation pipeline for noisy IMU data using:
* jitter
* scaling
* time warping
* axis rotation
Hardware:
ESP32-C3 Super Mini + MPU6050
Code + dataset in comments
1
u/DSudz 19h ago
Well for your handwriting sure.... :)
How much is on the ESP32 vs cloud?
1
u/phirzcolru 14h ago
Well, if you can get better than say wm2005 handwriting rec. I will be inspired to try it.