This project provides a full-stack, web-based application designed to detect whether an image is AI-generated or real.
The solution consists of:
- A machine learning model backend
- A simple web form frontend
Users can upload an image, and the application will return a prediction with a confidence score.
โ ๏ธ Note:
The machine learning model included in this repository is a placeholder created with dummy data.
It is only for demonstration purposes and will not provide accurate real-world predictions.
The code serves as an example of how to integrate a deep learning model into a web application.
The application is built using a full-stack approach with the following key technologies:
- Backend: RESTful API built with Flask (Python) โ handles image uploads, preprocessing, and model inference.
- Machine Learning Model: Image classification deep learning model built with TensorFlow/Keras.
- Frontend: User-friendly web form created with HTML, CSS, and JavaScript for image uploads and result display.
To run this application, you need Python installed on your system.
Install the following Python libraries:
pip install tensorflow flask werkzeug numpy