Initial version developed during 2024–2025
An advanced voice biometric authentication system using speaker recognition and voice commands. Authenticate users based on their unique voice characteristics and provide secure access control.
- 🎤 Voice Enrollment - Register users with voice samples
- 🔍 Speaker Verification - Verify user identity through voice
- 🎙️ Real-time Voice Commands - Control system via voice
- 🔐 Biometric Security - Voice-based authentication
- 📊 Voice Analysis - Speaker recognition using Vosk
- 🛡️ Secure Access Control - Dummy/Real data protection
- 🗣️ Voice Command Processing - Natural language understanding
- Python - Core programming language
- Vosk - Offline speech recognition
- PyAudio - Audio input/output
- Wave - Audio file processing
- Speaker Recognition - Voice biometrics
- Python 3.7 or higher
- Microphone for voice input
# Clone the repository
git clone https://github.com/A-Hacker-06/voice-biometric-security.git
cd voice-biometric-security
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install vosk pyaudio wave# Download from: https://alphacephei.com/vosk/models
# Place in: app/voice_model/model/python app/voice_model/enroll.pypython app/main.pyThe system listens for:
- Activation codewords - Wake up the system
- Authentication - Verify speaker identity
- Action commands - Execute protected operations
voice-biometric-security/
│
├── app/
│ ├── main.py # Main application entry
│ ├── config.json # Configuration settings
│ ├── voice_model/ # Voice recognition module
│ │ ├── model/ # Vosk model files
│ │ ├── enroll.py # User enrollment
│ │ ├── verify.py # Speaker verification
│ │ └── recode.py # Voice recording
│ │
│ └── actions/ # Action handlers
│ ├── open_real.py # Real data access
│ ├── open_dummy.py # Dummy data access
│ └── delete_data.py # Data deletion
│
└── README.md
- Voice Biometrics - Unique voice characteristics verification
- Multi-factor Authentication - Voice + codeword verification
- Secure Data Access - Protected resource management
- Real-time Verification - Instant speaker recognition
- Offline Processing - No cloud dependency, enhanced privacy
-
Enrollment Phase:
- User records voice samples
- System creates voice profile
- Stores biometric template
-
Verification Phase:
- User speaks activation codeword
- System captures voice sample
- Compares with stored profile
- Grants/denies access based on match
-
Command Execution:
- Authenticated user issues voice commands
- System executes protected operations
- Maintains security throughout session
- Secure Authentication - Replace passwords with voice
- Access Control - Restrict sensitive operations
- Smart Home Security - Voice-controlled locks
- Banking & Finance - Secure transactions
- Healthcare - Protected patient records
- Corporate Security - Employee verification
Edit app/config.json to customize:
{
"codewords": ["activate", "access", "unlock"],
"paths": {
"real_data": "/path/to/real",
"dummy_data": "/path/to/dummy"
}
}- Multi-language support
- Anti-spoofing detection
- Continuous authentication
- Mobile app integration
- Cloud backup of voice profiles
- Advanced noise cancellation
MIT License - see LICENSE file for details
Created with security in mind during 2024-2025
Secure your systems with voice! 🔐🎤