A deepfake detector built using NextJS, FastAPI and Tensorflow
View Demo
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.
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.
The technologies used for this project were:
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:
git clone https://github.com/davidperjac/react-wordle-clon.git
cd client
npm install
npm run dev
http://localhost:3000
cd server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload
Landing Page
Model Page
Code Page
Built with ❤️ by: