Skip to content

ManikantaKandagatla/deepfake-id-detection-with-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Image Detector

A Flask-based web application that detects whether an image is AI-generated and identifies its source.

Features

  • Detect if an image is AI-generated
  • Identify the source of AI-generated images (Midjourney, DALL-E, Stable Diffusion)
  • Beautiful and responsive web interface
  • Drag and drop image upload
  • Real-time analysis results

Installation

  1. Clone the repository:
git clone <repository-url>
cd <repository-name>
  1. Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate  # On Windows, use: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Usage

  1. Start the Flask application:
python app.py
  1. Open your web browser and navigate to:
http://localhost:5000
  1. Upload an image by either:

    • Dragging and dropping an image onto the drop zone
    • Clicking "Select Image" and choosing a file
  2. View the analysis results, which include:

    • Whether the image is AI-generated
    • Confidence level of the detection
    • Source of the image (if AI-generated)
    • Confidence level of the source detection

Supported Image Formats

  • JPEG (.jpg, .jpeg)
  • PNG (.png)

Technical Details

The application uses:

  • PyTorch for deep learning
  • Hugging Face Transformers for the AI detection models
  • Flask for the web server
  • Tailwind CSS for the user interface

License

[Your License Here]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published