File size: 1,104 Bytes
3b237c2 ebdeb16 3b237c2 910760f 3b237c2 910760f 3b237c2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | ---
license: mit
tags:
- deepfake-detection
- video-classification
- efficientnet
- celeb df v2
pipeline_tag: video-classification
widget:
- src: https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/thumbnail.png
example_title: "Sample Detection"
---
# Deepfake Video Classifier
🎬 **Detect manipulated videos with 95.73% accuracy**
This model analyzes video frames to determine if content is REAL or a DEEPFAKE. It is Trained on Celebdf v2 dataset and it uses efficientnet B-0. (https://www.kaggle.com/datasets/reubensuju/celeb-df-v2)
Developed by Sajjal Fatima, a Software Engineering student at Punjab University College of Information & Technology (PUCIT), Lahore, Pakistan.
## 🚀 Quick Start
```python
from model import DeepFakeModel
from utils import video_to_tensor
# Load model
model = DeepFakeModel("ffpp_efficientnet_best.pth")
# Process video
video_tensor = video_to_tensor("your_video.mp4")
result = model.predict(video_tensor)
print(f"Prediction: {result['prediction']}") # REAL or FAKE
print(f"Confidence: {result['confidence']:.2%}") |