ADHD_Recognition with personal voice
Last updated Feb 27, 2026
17
Stars
0
Forks
0
Issues
0
Stars/day
Attention Score
2
Topics
Language breakdown
No language data available.
▸ Files
click to expand
README
ADHD Recognition System with Personal Voice
A machine learning-based system for analyzing audio recordings to detect potential ADHD characteristics using advanced audio processing and machine learning techniques.
Overview
This system uses audio processing and machine learning to analyze speech patterns and detect potential ADHD characteristics. It employs the eGeMAPs (extended Geneva Minimalistic Acoustic Parameter Set) feature set for audio analysis and uses Support Vector Machine (SVM) for classification.
Features
- Audio file processing and segmentation
- eGeMAPs feature extraction
- Principal Component Analysis (PCA) for feature reduction
- SVM-based ADHD classification
- Real-time processing capabilities
- Web interface for easy interaction
- Support for MP3 and WAV audio formats
Technical Stack
- Python 3.x
- Flask (Web Framework)
- Librosa (Audio Processing)
- OpenSMILE (eGeMAPs Feature Extraction)
- scikit-learn (Machine Learning)
- Pandas & NumPy (Data Processing)
- Matplotlib & Seaborn (Visualization)
Installation
- Clone the repository:
git clone [repository-url]
cd ADHD
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
Usage
- Start the web server:
python app.py
- Open your web browser and navigate to
http://localhost:5000
- Upload an audio file (MP3 or WAV format) through the web interface
- The system will process the audio and provide:
Project Structure
ADHD/
├── app.py # Main Flask application
├── createpredictdata.py # Audio processing and feature extraction
├── predict.py # ADHD prediction module
├── svm.py # SVM model training and evaluation
├── pca.py # PCA analysis and visualization
├── egemaps.py # eGeMAPs feature extraction utilities
├── static/ # Static files (CSS, JS)
├── templates/ # HTML templates
├── uploads/ # Temporary storage for uploaded files
└── process/ # Processing directory for audio files
Model Training
To train the model with your own dataset:
- Place your audio files in the
dataset/train_16kdirectory - Run the training script:
python createtraintest_data.py
API Endpoints
GET /: Main web interfacePOST /upload_file: Upload and process audio files
Performance
The system uses a combination of:
- eGeMAPs features for robust audio analysis
- PCA for feature reduction
- SVM with RBF kernel for classification
- Real-time processing capabilities
License
This project is licensed under the terms of the included LICENSE file.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Acknowledgments
- OpenSMILE for eGeMAPs feature extraction
- scikit-learn for machine learning capabilities
- Flask for web framework
🔗 More in this category