This project focuses on detecting deepfake images and videos using deep learning techniques.
We use a combination of Convolutional Neural Networks (CNN) and Vision Transformers (ViT) to identify manipulated facial content.
- Detect whether a video/image is Real or Fake
- Identify subtle inconsistencies in facial features
- Build an automated deepfake detection system
We used the Celeb-DF (v2) dataset, which contains real and deepfake videos of celebrities.
🔗 Dataset Link: https://github.com/yuezunli/celeb-deepfakeforensics
- Dataset is not included in this repository due to large size (~10GB)
- Users must download it manually and place it in the project directory
- Video Input (Celeb-DF dataset)
- Frame Extraction using OpenCV
- Face Detection using MTCNN
- Preprocessing (crop, resize to 224x224)
- Dataset Splitting (Train / Test / Validation)
- Model Training (CNN + Vision Transformer)
- Prediction (Real / Fake)
- Python
- OpenCV
- MTCNN
- NumPy
- TensorFlow / PyTorch
- Matplotlib
- FastAPI (recommended)
- Uvicorn
- HTML
- CSS
- JavaScript
- VS Code
- Git & GitHub