---
title: "ai-face-detector"
url: https://furkankoykiran.com.tr/en/projects/ai-face-detector/
lang: en
lastmod: 2026-03-07
author: Furkan Köykıran
---

# ai-face-detector

A MobileNetV2 transfer-learning model that tells AI-generated faces from real ones, with a FastAPI service and weights on Kaggle.

Detects AI-generated faces (GAN, diffusion) with a MobileNetV2 transfer-learning classifier in PyTorch, about 95% accuracy on the 140k real-vs-fake faces dataset. Includes a FastAPI REST API, drag-and-drop web UI and a Colab/Kaggle training script; the model is published on Kaggle.

- Category: Data & ML
- GitHub: https://github.com/furkankoykiran/ai-face-detector
- Model: https://www.kaggle.com/models/furkankoykiran/ai-face-detector-mobilenetv2/
- Language: Python
- Stars: 5
- Technologies: Python, FastAPI, Jupyter Notebook, Matplotlib, Pillow, Poetry, PyTorch, Uvicorn
- Last updated: 2026-03-07


