A Python package for wakeword detection
Project description
Wakeword Detector
A Python package for training and running real-time wakeword detection using PyTorch and TensorFlow, with GPU acceleration support.
🚀 Features
- Real-time wakeword detection with microphone input
- Torch-based inference with optional TensorFlow model support
- CLI tools for recording audio and training models
- Supports GPU acceleration (CUDA 12.4+)
🧱 Requirements
- Python 3.8 – 3.12
- Linux (recommended for PyAudio + GPU)
- NVIDIA GPU with CUDA support (for training/inference speedup)
📦 Installation
Make sure you are not mixing environments:
python3 -m venv testenv source testenv/bin/activate
# Use TestPyPI if installing dev builds:
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple wakeword-detector
⚡ Enabling GPU Acceleration
If you want to use GPU-based training/inference (recommended):
1. Install the CUDA 12.4 runtime:
bash
Copy
Edit
# Download keyring (Ubuntu 22.04 shown here)
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
sudo apt-get update
# Install CUDA runtime (no full toolkit needed)
sudo apt-get install cuda-runtime-12-4
2. Set CUDA path (if needed)
bash
Copy
Edit
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
You can add this line to your ~/.bashrc or ~/.zshrc for persistence.
3. Verify PyTorch sees your GPU:
bash
Copy
Edit
python -c "import torch; print(torch.cuda.is_available())"
📮 Feedback & Issues
Submit here, but please note that this package is still under development, when version reaches 0.1.0 version is stable enough for prerelease. ETA: Early April 2025 https://github.com/larawhybrow/wakeword-detector/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wakeword_detector-0.0.44.tar.gz.
File metadata
- Download URL: wakeword_detector-0.0.44.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba5ea597e9de8dbf3b05736c63ead004f72fb0324ef42100626b65294f209bd8
|
|
| MD5 |
9c4f128e91a6c0d01720388a400fa088
|
|
| BLAKE2b-256 |
4ef1238c9074888a077903a0b4d83fa94dd987b68ac41c894c9e51f2b4b11969
|
File details
Details for the file wakeword_detector-0.0.44-py3-none-any.whl.
File metadata
- Download URL: wakeword_detector-0.0.44-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e8fee96a1d5aa1663297de52528f4ef988285123bff84ab3fa0bf1aab2bf632
|
|
| MD5 |
1dc7d2801c92bfed5aea85f57d7bcd8a
|
|
| BLAKE2b-256 |
e02b73b4d7e750adfc3218e689f78bdc44ad1a2583510b9f6aac3f1e1607c6f6
|