Skip to content

ozxmn/voiceX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice recognition app

Demo

A desktop application useful for teachers and examiners to recognize the voices of students during both the lessons and exams. Useful to analyze student answers on the lessons and prevent cheating on exams. ---

Features

  • Record and label voice samples
  • Train and save a recognition model (model.pkl)
  • Test recognition with confidence scores
  • Clean CustomTkinter GUI
  • Modular structure for easy maintenance

Project structure

voice_recognition/
├── main.py              # Entry point
├── gui.py               # Application GUI
├── audio/
│   ├── recorder.py      # Audio recording
│   └── features.py      # Feature extraction
├── model/
│   ├── trainer.py       # Model training logic
│   └── recognizer.py    # Recognition logic
├── utils/
│   └── types.py         # Dataclasses
├── data/                # Saved WAV files
├── model.pkl            # Saved model (after training)
├── requirements.txt     # List of required Python packages
├── .gitignore           # Git ignore rules
└── README.md            # Project documentation

Setup & running

  1. Download
git clone https://github.com/ozxmn/voice_reco.git

cd voice_recognition
  1. Install dependencies
pip install -r requirements.txt
  1. Run the app
python main.py

How it works

  • Record samples for each person in the dataset (data/person_name_folder).
  • Train model → creates model.pkl.
  • Test recognition → identifies who is speaking based on trained data.

Dependencies

  • customtkinter
  • sounddevice
  • soundfile
  • numpy
  • librosa
  • scikit-learn

Gallery

Start

Recording

Training

Voice recognition

About

Voice recognition program.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages