| --- |
| title: TruthLens Deepfake Detector |
| emoji: π |
| colorFrom: purple |
| colorTo: blue |
| sdk: gradio |
| sdk_version: 5.33.0 |
| app_file: app.py |
| pinned: true |
| license: apache-2.0 |
| short_description: "Detect AI-generated images with multi-signal analysis" |
| tags: |
| - deepfake-detection |
| - image-forensics |
| - ai-safety |
| - computer-vision |
| --- |
| |
| # π TruthLens β Deepfake Detector |
|
|
| Multi-signal AI-generated image detection combining: |
| - **EfficientNet CNN** β spatial artifact detection |
| - **FFT Frequency Analysis** β spectral anomaly scoring |
| - **Edge Density Analysis** β smoothness vs natural texture |
| - **Noise Pattern Analysis** β sensor noise vs AI noise |
|
|
| ## API Access |
|
|
| This Space auto-exposes a Gradio API. Click the "API" tab at the bottom of the app. |
|
|
| ```python |
| from gradio_client import Client |
| client = Client("legendarydragontymer/DeepfakeDetectGPU") |
| result = client.predict("path/to/image.jpg", api_name="/detect_deepfake") |
| print(result) |
| ``` |
|
|
| ## Built By |
|
|
| [@AnubhavBharadwaaj](https://github.com/AnubhavBharadwaaj) | [AgenticEdge.in](https://agenticedge.in) |
|
|