This repository provides GUI-based desktop application built using PyQt6 to demonstrate spoofed speech detection.
This applications uses two spoofed speech detection models : AASIST and RawNet
The third model One Class Classifier is being trained so in GUI application the value for One-Class will be N/A for now
The pretrained models are provided by Shilpa
- Conda need to installed on your system . Please follow the guide to install conda on your system Conda
- First, clone the repository locally
git clone https://github.com/ssnym/SpoofedSpeechGUI.git
cd SpoofedSpeechGUI- Create and activate the conda environment
# Create a conda environment from the environment.yml file
conda env create -f environment.yml
# Activate the conda environment
conda activate <env_name>
- Run the main script to launch the GUI
python -m src.mainDocker need to installed on your system . Please follow the guide to install conda on your system Docker
- First, clone the repository locally
git clone https://github.com/ssnym/SpoofedSpeechGUI
cd SpoofedSpeechGUI- Start the docker using command
sudo systemctl start docker- Build the Docker image. A Dockerfile defines the instructions to build a Docker image with all dependencies and configurations for an application. To build the docker image run
docker build -t <image_name> .- The audio files need to be placed in the '~/audio_files' directory on your computer first. The app will see these files in its '/data directory'.
Run the following command to run the docker image. Make sure to replace<image_name>with the name you chose in the previous step.
# For Linux
xhost +local:docker && docker run -it --rm \
--env="DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
--env="XAUTHORITY=$XAUTHORITY" \
--volume="$XAUTHORITY:$XAUTHORITY" \
--env PULSE_SERVER=unix:/run/user/$(id -u)/pulse/native \
--volume /run/user/$(id -u)/pulse:/run/user/$(id -u)/pulse \
--volume ~/.config/pulse/cookie:/root/.config/pulse/cookie \
--volume "$(pwd)":/app \
--volume "$HOME/audio_files":/data \
<image_name>