This application provides a graphical interface for voice-based security access. It allows users to record sound, analyze spectrograms, and verify access based on pre-trained models. The GUI is built using PyQt5, with plotting capabilities provided by PyQtGraph and Matplotlib.
- Description
- Installation
- Features
- Dependencies
- Usage
- Plot Descriptions
- UI Elements
- Developer Notes
- Acknowledgments
- Contributors
1.Clone the repository:
# Clone the repository
git clone https://github.com/omarshaban02/Security-Voice-code-Access
# Navigate to the project directory
cd Security-Voice-code-Access
2.Install the required dependencies:
# Install the requirements
pip install -r requirements.txt
- Record sound through the application
- Visualize spectrograms of recorded sounds
- Predict access based on voice models
- Display prediction statistics for persons and words
- PyQt5
- PyQtGraph
- Matplotlib
- NumPy
- Pandas
- Click the
Record
button to start recording sound. - The application will process the sound and display the spectrogram.
- The spectrogram of the recorded sound is plotted automatically.
- Use the spectrogram plot to analyze the frequency and time characteristics of the sound.
- The application uses pre-trained models to predict if the person and word match the authorized ones.
- The result is displayed as "The Door is opened" or "The Door is closed" based on the prediction.
- Spectrogram Plot: Displays the spectrogram of the recorded sound, showing the intensity of frequencies over time.
- Plot Widgets: Main plot area for spectrogram visualization.
- Buttons:
Record
: Starts recording sound.
- List Widgets:
Persons List
: Displays the list of possible persons.Words List
: Displays the list of possible words.
- Tables:
Persons Stats
: Shows the prediction percentages for each person.Words Stats
: Shows the prediction percentages for each word.
- Ensure that the
Sound
andModel
classes fromSecurity_Voice_code_Access
are properly implemented and available in the project directory. - The application uses
QPropertyAnimation
for smooth sidebar transitions. - Validators are set for input fields to ensure proper data types are entered.
- PyQt5 for the GUI framework.
- PyQtGraph and Matplotlib for the plotting capabilities.
- Contributors and community for support and libraries.
Abdulrahman Shawky |
Omar Abdulnasser |
Ahmed Kamal |
Abdullah Omran |