Real-Time Speaker Recognition for ESP32-P4 (TDNN-Tiny)
Pure PyTorch checkpoint (\ dnn_tiny.pth) for real-time speaker recognition and verification on the ESP32-P4 RISC-V SoC.
Architecture
- Model: TDNN-Tiny (Time Delay Neural Network)
- Embedding Dimension: 512-D L2-normalized vector
- Input: 80-channel Mel filterbank (16 kHz mono PCM)
- Format: Standard PyTorch \state_dict\ (\ orch.load)
Performance on ESP32-P4
- Raw NN Inference: ~142 ms (INT8 PIE SIMD @ 360 MHz)
- End-to-End Latency: ~198 ms (including FFT and Mel filterbank)
- Equal Error Rate (EER): ~1.40%
Component repository: esp-idf-speaker-recognition.