File size: 2,145 Bytes
8aedd45
bb24e55
 
 
8aedd45
9fcbb6e
5419a8e
8aedd45
 
 
bb24e55
 
 
 
 
09803f0
8aedd45
 
bb24e55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
title: DeepGuard AI Face Authenticator
emoji: 🛡️
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 3.50.2
app_file: app.py
pinned: false
license: mit
tags:
  - deepfake-detection
  - computer-vision
  - tensorflow
  - mlops
short_description: Deepfake detection with 88% accuracy
---

# DeepGuard: AI Face Authenticator

A production-grade deep learning system for detecting AI-generated (deepfake) faces, built with a complete MLOps pipeline.

## Overview

DeepGuard leverages transfer learning with the Xception architecture to identify synthetic faces generated by GANs (Generative Adversarial Networks). The model achieves 88% accuracy with a 95% ROC-AUC score on StyleGAN-generated content.

## Model Performance

| Metric | Value |
|--------|-------|
| Test Accuracy | 88% |
| ROC-AUC Score | 95% |
| Training Dataset | 140,000 images |
| Architecture | XceptionTransfer |
| Input Resolution | 128x128 pixels |

## FFT Frequency Analysis Interpretation

The Fast Fourier Transform visualization provides forensic insight into image authenticity.

| Pattern | Interpretation |
|---------|----------------|
| Bright center spot | Normal low-frequency content (smooth areas) |
| Radiating spokes | Edge directions in the original image |
| Random noise distribution | Natural texture typical of real photographs |
| Grid or cross artifacts | Potential GAN fingerprint indicating synthetic generation |

Note: GAN artifacts in the frequency domain are subtle and serve as a supplementary forensic tool.

## Known Limitations

This model is trained on StyleGAN-generated faces. Detection accuracy may be reduced for:

- Images from diffusion models (Stable Diffusion, Midjourney, DALL-E)
- Non-face subjects or full-body photographs
- Heavily compressed or filtered images

## MLOps Pipeline

| Component | Technology |
|-----------|------------|
| Data Versioning | DVC |
| Experiment Tracking | MLflow + DagsHub |
| Model Training | TensorFlow / Keras |
| Deployment | Hugging Face Spaces |

## Repository

[GitHub: DeepGuard-MLOps-Pipeline](https://github.com/HarshTomar1234/DeepGuard-MLOps-Pipeline)

## License

MIT License