DeepFake Detection project for the course at Rice University in Fall 2023.
Team Members:
Priyam Thakkar - pt50@rice.edu
Pranav Suryadevara - pranav.suryadevara@rice.edu
This repository contains the python jupyter notebooks built for the course project.
It also consists of a lightweight flask application that uses the final selected model.Priyam Thakkar developed for a previous course and we tweaked it to our project specifications.
This repository contains a Flask application that can classify videos as either original or manipulated (deepfake). The application utilizes a machine learning model to analyze video frames and generate a classification result.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Before you begin, ensure you have the following installed:
- Python 3.6+
- pip (Python package manager)
To set up the project environment, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/suryadevarapranav/Statistical-ML.git
- Navigate to the project directory:
cd 'Deepfake Project'
- Install the required Python packages:
pip install -r requirements.txt
To run the Flask application, use the following command:
python3 app.py
After running the command, you can access the application at http://127.0.0.1:5000/
in your web browser.
To use the application:
- Navigate to the home page at
http://127.0.0.1:5000/
. - Click on "Select file" to upload a video file.
- Click "Upload and Analyze" to submit the file for processing.
- The application will display the classification results and relevant heatmaps on a new results page.