Skip to content

ShantanuPatil11/AI-Image-Detection

Repository files navigation

AI Image Detection

A Flask-based web application that uses Google's Gemini Vision model to analyze images and estimate whether they appear Human-Created or AI-Generated.

Features

  • Image upload and drag-and-drop support
  • Live image preview
  • Gemini Vision powered analysis
  • Confidence score visualization
  • Detailed reasoning and insights
  • Modern responsive UI
  • Secure API key handling using .env

Tech Stack

  • Python
  • Flask
  • HTML
  • CSS
  • JavaScript
  • Google Gemini API

Screenshots

Home Page

Home Page

Image Preview

Image Preview

Analysis Result

Analysis Result

Installation

Clone the repository:

git clone https://github.com/ShantanuPatil11/AI-Image-Detection.git

Install dependencies:

pip install flask python-dotenv google-genai

Create a .env file:

GEMINI_API_KEY=YOUR_API_KEY_HERE

Run the application:

python app.py

Open:

http://127.0.0.1:5000

Project Structure

AI-Image-Detection
│
├── static
│   ├── style.css
│   └── script.js
│
├── templates
│   └── index.html
│
├── screenshots
│
├── app.py
├── README.md
└── .gitignore

Author

Shantanu Patil

About

AI-powered image authenticity detector built with Flask and Gemini Vision API. Upload images and receive confidence scores, verdicts, and detailed analysis insights.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors