ESP32-P4 speech recognition runs offline on a microcontroller
A microphone, a small screen and an ESP32-P4X can transcribe English without a cloud service. Boumedine Billal adapted Banafo’s Kroko speech model, shrinking its weights from 71 MB to 26.65 MB and writing an integer-based inference engine for the chip’s two cores.
He reports processing 1.28 seconds of audio in about 0.90 seconds, with final words appearing roughly two seconds after speech. On a matching PC build, he reports 4.34% word error on LibriSpeech test-clean and 10.26% on test-other, with bounded board tests checking identical results. Noisy rooms and strong accents remain limits.
This needs revision-v3 hardware, 32 MB PSRAM and a microSD card—not just any ESP32. The video’s ~$5 price refers to the chip, not the complete setup.
Code and measurements:
github.com/BoumedineBillal/esp32-pie-asr