Skip to content

omarshaban02/Security-Voice-code-Access

Repository files navigation

SECURITY VOICE-CODE ACCESS

Description

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.

Table of Contents

  1. Description
  2. Installation
  3. Features
  4. Dependencies
  5. Usage
  6. Plot Descriptions
  7. UI Elements
  8. Developer Notes
  9. Acknowledgments
  10. Contributors

Installation

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

Features

  • Record sound through the application
  • Visualize spectrograms of recorded sounds
  • Predict access based on voice models
  • Display prediction statistics for persons and words

Dependencies

  • PyQt5
  • PyQtGraph
  • Matplotlib
  • NumPy
  • Pandas

Usage

Start

Recording Sound

  1. Click the Record button to start recording sound.
  2. The application will process the sound and display the spectrogram.

Record Loading

Analyzing Spectrogram

  1. The spectrogram of the recorded sound is plotted automatically.
  2. Use the spectrogram plot to analyze the frequency and time characteristics of the sound.

Predicting Access

  1. The application uses pre-trained models to predict if the person and word match the authorized ones.
  2. The result is displayed as "The Door is opened" or "The Door is closed" based on the prediction.

Closed Opened

Plot Descriptions

  • Spectrogram Plot: Displays the spectrogram of the recorded sound, showing the intensity of frequencies over time.

UI Elements

  • 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.

Developer Notes

  • Ensure that the Sound and Model classes from Security_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.

Acknowledgments

  • PyQt5 for the GUI framework.
  • PyQtGraph and Matplotlib for the plotting capabilities.
  • Contributors and community for support and libraries.

Contributors

Abdulrahman Shawky
Abdulrahman Shawky
omarnasser0
Omar Abdulnasser
Ahmed Kamal
Ahmed Kamal
Abdullah Omran
Abdullah Omran

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published