Skip to content

Gunjansureka11/Artwork-Image-Recognition-Using-Deep-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽจ AI-Powered Art Classification

An advanced deep learning-based system for classifying artwork images into 30 distinct artistic styles, including Cubism, Surrealism, Impressionism, and more. This project leverages state-of-the-art CNN architectures to achieve high-precision art recognition.


๐Ÿš€ Features

  • Trained on 7,315+ artwork images across 30 artistic styles.
  • Implemented deep learning models: ResNet152V2, Xception, and InceptionV3.
  • Achieved 97% accuracy using ResNet152V2.
  • Explainability with Grad-CAM: Generates heatmaps to visualize model decisions.
  • Potential applications in museum archiving, e-commerce, and AI-powered art education.

๐Ÿ“‚ Dataset

The dataset used for this project can be found here: Surreal Symphonies - A Dataset of Diverse Art.


๐Ÿ“Œ Model Architectures

The following pre-trained deep learning models were fine-tuned for the classification task:

  • ResNet152V2 (Best Performer: 97% Accuracy)
  • Xception
  • InceptionV3

These models were trained and evaluated to determine the most efficient approach for accurate art classification.


๐Ÿ” Explainability with Grad-CAM

To ensure transparency in AI-driven decisions, Grad-CAM (Gradient-weighted Class Activation Mapping) was used to generate heatmaps, highlighting the key areas in images that influenced the modelโ€™s predictions.


๐Ÿ›  Installation & Setup

Clone the repository:

git clone https://github.com/your-username/ai-art-classification.git
cd ai-art-classification

Install dependencies:

pip install -r requirements.txt

๐ŸŽฏ Training the Model

To train the model, run the following command:

python train.py --model resnet152v2 --epochs 20 --batch_size 32

For other models, specify --model xception or --model inceptionv3.


๐Ÿ“Š Evaluation

Evaluate the trained model on the test dataset:

python evaluate.py --model resnet152v2

๐Ÿ“ˆ Grad-CAM Visualization

To generate heatmaps for model predictions:

python grad_cam.py --image sample.jpg --model resnet152v2

This will output a visualization of the regions in the image that contributed to the classification.


๐Ÿ”ฎ Future Applications

This AI-powered classification system can be expanded to various domains:

  • ๐Ÿ›๏ธ Museum Archiving: Digitally categorize and preserve artworks.
  • ๐Ÿ›๏ธ E-commerce: Enable style-based search for art marketplaces.
  • ๐Ÿ“š AI-powered Art Education: Assist students in learning about different artistic styles.

๐Ÿค Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.


๐Ÿ“œ License

This project is open-source and available under the MIT License.


๐Ÿ“ฉ Contact

For any inquiries or collaborations, reach out at your-email@example.com.


โญ If you found this project useful, don't forget to star this repo! โญ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published