deepfake-detector Tailwind Templates

Deepfake Detector

Deepfake detector fullstack app with frontend in NextJS 14 and deep learning model built with Tensorflow


Logo

Deepfake Detector

A deepfake detector built using NextJS, FastAPI and Tensorflow

View Demo

Contributors Issues License

Table Of Contents

About The Project

Deepfake Detector is an AI course final project that consists of building a deep learning model that can detect deepfake photos by using AI techniques. The model was built using a Convolutional Neural Network (CNN) and trained using the OpenForensics dataset. The dataset contains aproximately 191,000 images. The training set contains 140,000, the validation set contains 40,000 and the test set contains 11,000 images. The images are divided into two classes: real and fake.

Logo

The model was built in Google Colab Pro with Tensorflow and Keras API. The trained model was saved as a .tf file and then used in a web service built with FastAPI. The web service was deployed to Render and the client was built using NextJS and deployed to Vercel.

The model was trained using 20 epochs and achieved an accuracy of 0.91 and a loss of 0.2439 in the test set.

Logo Logo

Built With

The technologies used for this project were:

Getting Started

To use this application, simply clone the repository, move into the client and server directories, install the dependencies, and start the development server. Here are the steps:

  1. Clone the repo
git clone https://github.com/davidperjac/react-wordle-clon.git

Client Installation

  1. Move into the client directory
cd client
  1. Install NPM packages
npm install
  1. Start the development server
npm run dev
  1. Open your web browser and go to http://localhost:3000

Server Installation

  1. Move into the server directory
cd server
  1. Create a virtual environment
python3 -m venv venv
  1. Activate the virtual environment
source venv/bin/activate
  1. Install the requirements
pip install -r requirements.txt
  1. Start the development server
uvicorn main:app --reload

Usage

  • Landing Page Screen Shot

  • Model Page Screen Shot

  • Code Page Screen Shot

Authors

Built with ❤️ by:

Top categories

Loading Svelte Themes