Deepfake Detection API

Production-ready deepfake detection system built with Vision Transformer (ViT) and FastAPI. Deployable REST API for real-time face authenticity verification.

Overview

A production-ready deepfake detection system demonstrating the full pipeline from model to deployment — something most research-only projects never show. Built to bridge the gap between academic deepfake detection research and real-world application.

Architecture

  • Vision Transformer (ViT) backbone for feature extraction
  • FastAPI REST backend for scalable inference
  • Preprocessing pipeline for face detection and alignment
  • JSON API responses with confidence scores

Features

  • REST API endpoint for single image and batch inference
  • Real-time inference suitable for production deployment
  • Clean, documented codebase with usage examples
  • Docker-ready for containerized deployment

Tech Stack

Python · PyTorch · Vision Transformer · FastAPI · OpenCV · Docker