Deepfake detection system for images and videos, built during a hackathon at IIIT Una.
AuthenSight AI analyzes facial regions using a ResNet-based deep learning model and exposes prediction APIs through a scalable REST architecture.
AuthenSight AI detects AI-generated or manipulated faces in:
- 🖼 Images
- 🎥 Videos (frame-level inference)
The system extracts faces, preprocesses them, and runs inference using a pretrained deepfake detection model built on ResNet.
Frontend (React)
↓
Express.js (API Layer)
↓
FastAPI (ML Inference Service)
↓
PyTorch (ResNet Model)
- PyTorch
- ResNet-based classifier
- OpenCV (face extraction)
- FastAPI (AI inference server)
- Express.js (API gateway)
- RESTful architecture
- React.js
- Image deepfake detection
- Video frame sampling & aggregation
- REST-based API endpoints
- Real-time inference
- Modular backend design
- Scalable architecture
git clone https://github.com/shauryaa108/authensight-ai.git
cd authensight-aipython -m venv venv
source venv/bin/activatepip install -r requirements.txtuvicorn model.app:app --reloadSwagger Docs:
http://127.0.0.1:8000/docs
POST /predict
Form Data:
queryObject: <image file>
Response:
{
"label": "FAKE",
"confidence": 87.23
}POST /predict-video
Form Data:
queryObject: <video file>
Response:
{
"label": "REAL",
"confidence": 91.12,
"frames_analyzed": 34
}- Extract largest face from image/video frame
- Preprocess face
- Run ResNet model inference
- Compute fake probability
- Aggregate results (for videos)
- Frame-level detection (no temporal modeling)
- Works best with clear frontal faces
- Accuracy depends on face extraction quality
- Not a forensic-grade system
Built during a hackathon at IIIT Una.
- Rishik — ML & FastAPI
- Yash & Aman — Frontend (React) & Backend (Express.js)
- Yash & Aman — Frontend (React) & Backend (Express.js)
- Temporal deepfake detection models
- RetinaFace integration
- GPU batching
- Confidence calibration
- Cloud deployment