Welcome to FauxFinder, a cutting-edge application designed to classify images as real art or AI-generated art using advanced deep learning models. This project is part of a course project and leverages state-of-the-art models like Custom CNN, MobileNetV1, and MobileNetV2 to provide accurate predictions. The app is deployed on Streamlit Cloud, making it accessible to users worldwide.
DCGAN.ipynb
: Contains the source code for training the DCGAN model to generate fake art images based on real art images.CNN and Pre-trained Models.ipynb
: Contains the source code for training and fine-tuning CNN models, including MobileNetV1 and MobileNetV2, for art image classification.
app.py
: Contains the source code for the deployed web application that uses the trained models to classify real vs. fake art images.
MobileNetV1_finetuned_models.keras
: The fine-tuned MobileNetV1 model for art image classification.MobileNetV2_finetuned_models.keras
: The fine-tuned MobileNetV2 model for art image classification.my_cnn.keras
: The custom-trained CNN model for art image classification.
Literature Review Folder/
: Contains research papers that were reviewed as part of the project.literature_review_summary.pdf
: Contains a summary of all the research papers that were reviewed.
images/
: Contains images used in the final report and related visualizations.
.idea/
: Contains configuration files for the IDE (not essential for the project but required for the development environment)..gitattribute
: Git configuration file for handling special file attributes.requirements.txt
: Contains the list of Python dependencies required to run the project.LICENSE
: The license file for this repository.README.md
: This file, providing an overview of the project and the repository structure.demo.gif
: A demonstration of the app or a visual showing the functionality of the project.
The FauxFinder project aims to distinguish between real art and AI-generated art using deep learning models. With the rise of AI-generated art, this tool provides a reliable way to identify whether an artwork is created by a human or an AI. The app allows users to upload images and receive predictions with confidence scores, helping them understand the nature of the artwork.
The primary objective is to provide an easy-to-use interface for classifying art while maintaining high accuracy and interpretability. The app also allows users to select from multiple models for classification.
- Real vs Fake Art Classification: Predicts whether an image is real art or AI-generated.
- Model Selection: Choose between three models:
- Custom CNN (85% Accuracy)
- MobileNetV1 (95% Accuracy)
- MobileNetV2 (92% Accuracy)
- Confidence Scores: Displays the model's confidence level for each prediction.
- Interactive UI: User-friendly interface with dynamic background, progress bars, and clear visual feedback.
- Python for backend development.
- TensorFlow/Keras for building and training deep learning models.
- Streamlit for building the web interface.
- PIL/OpenCV for image processing.
- NumPy for numerical computations.
Kaggle Dataset Link: Access Here
The tool is deployed on Streamlit Cloud, making it accessible to users worldwide.
Streamlit App Link: Live Running App
- Fork the Repository:
- Click the Fork button at the top-right corner of the repository.
- Clone the Repository:
https://github.com/Kaleemullah-Younas/FauxFinder-Real-vs-Fake-Art-Detection.git
- Install Dependencies:
pip install -r requirements.txt
- Run the App:
streamlit run app.py
- Open the local URL (http://localhost:8501) in your browser to access the app.
We welcome contributions from the community! Feel free to fork the repository, submit issues, and create pull requests to enhance the project.
- Fork the Repository on GitHub.
- Clone Your Forked Repository:
https://github.com/Kaleemullah-Younas/FauxFinder-Real-vs-Fake-Art-Detection.git
- Create a New Branch:
git checkout -b feature/your-feature-name
- Make Your Changes and Commit:
git commit -m "Add your message here"
- Push Changes to Your Fork:
git push origin feature/your-feature-name
- Create a Pull Request:
Open a pull request from your branch to the original repository'smain
branch.
This project is licensed under the license.
- Faculty Advisors: Thanks to our professors for their invaluable guidance throughout this project.
- Streamlit Community: For resources and support in app deployment.