CoolFace
Apppublic

Subhra065/deepfake-shield

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
App README

DeepFake Shield

Real-time deepfake detection API using ConvNeXt-Tiny. 95.05% accuracy | AUC 0.9502 | Hardened against JPEG, noise, blur, and low-res inputs.

API Endpoints

EndpointMethodDescription
/healthGETServer and model status
/predict/imagePOSTSingle image detection
/predict/videoPOSTVideo frame-sampling detection

Setup

pip install -r requirements.txt python -m uvicorn src.api.main:app --reload

Model Weights

Place deepfake_best.pth (318 MB) in models/ before starting.