BalVoice Robot Control β Balochi voice-command research
Experimental speech-command models for a four-wheel robot using a Raspberry Pi 5 and Arduino Mega 2560.
WARNING: These checkpoints are research prototypes, NOT safe autonomous vehicle control systems. Use for recognition-only testing; never enable motors based solely on these predictions.
Models
| Checkpoint | Description |
|---|---|
balochi_model_v02.joblib |
Original MFCC/SVM used by the legacy bilingual voice controller |
research_dual_models/balochi_svm_final.joblib |
Research MFCC/SVM comparison model |
research_dual_models/balochi_cnn_final.pt |
Experimental PyTorch log-mel CNN |
research_dual_models/balochi_cnn_numpy.npz |
NumPy/SciPy inference export of CNN |
Supported Balochi commands (Latin transcription):
bosht= stop (S)dema bro= forward (F)poshta bro= backward (B)chapen kasha bro= left (L)rasten kash a bro= right (R)
Dataset and evaluation
The research comparison used 226 unique recordings in six classes (five commands and noise), after removing three duplicate clips from 229. Shuffled three-fold cross-validation recorded:
- SVM: 69.0% (156/226)
- CNN: 72.1% (163/226)
The CNN misclassified 12 of the 25 noise clips. Results are not independent-speaker or real-world driving accuracy; low confidence and false positives have also occurred in phone tests. Original recordings are excluded for privacy and consent reasons.
Usage
See the Python inference code and requirements in research_dual_models/.
Load .joblib and .pt files only from trusted sources because model
deserialization can execute arbitrary code. Check checksums before loading.
Python inference on Raspberry Pi: start with
research_dual_models/requirements_pi.txt and
research_dual_models/test_dual.py.
The English Vosk model is a separate third-party model, and is not included here. The CNN is not the active model in the legacy integrated motor application.
Source code and documentation
GitHub: shah-bakhsh/BalVoice-Robot-Control
Model weights and source are supplied for research and evaluation. No open-source license is granted by default; contact the repository owner for redistribution permissions. Third-party packages retain their own licenses.