A comprehensive AI-powered platform for art authentication, generation, restoration, and cultural heritage preservation
ArtRevive.mp4
The Cultural Heritage AI Platform is an integrated system that combines state-of-the-art AI technologies to address multiple challenges in art and cultural heritage preservation. This platform provides tools for authenticating artwork, generating artistic content, restoring damaged monuments, converting 2D images to 3D models, and answering art-related questions using Retrieval-Augmented Generation (RAG).
Note: This repository contains 5 of the 6 platform modules. The "Fake vs Real Art Classification" module is maintained separately and not included in this repository.
- π Art Authentication: Distinguish between AI-generated and human-created artwork with 91% accuracy
- π¨ Artistic Image Generation: Generate images in the style of famous artists using Stable Diffusion
- ποΈ Heritage Restoration: Restore damaged monuments and statues using fine-tuned Stable Diffusion XL
- π 2D to 3D Conversion: Transform 2D images of statues into realistic 3D meshes
- π¬ Art Q&A System: Answer art-related questions using RAG with semantic search
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cultural Heritage AI Platform β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Art β β Artistic β β Heritage β β
β βAuthenticationβ β Image β β Restoration β β
β β Module β β Generation β β Module β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β
β ββββββββββββββββ ββββββββββββββββ β
β β 2D to 3D β β Art Q&A β β
β β Conversion β β RAG System β β
β β Module β β Module β β
β ββββββββββββββββ ββββββββββββββββ β
β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Shared AI Infrastructure & Models β β
β β β’ Stable Diffusion XL β’ Vision Transformers β β
β β β’ LoRA/PEFT Fine-tuning β’ Embedding Models β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
For detailed architecture documentation, see ARCHITECTURE.md.
Total Platform Modules: 6 (5 included in this repository)
Location: Art-Authentication-Sport-Fake-From-Fake-AI-Generated-Art/
Detects AI-generated artwork vs. human-created art using multiple deep learning architectures.
Key Features:
- Multiple model architectures (CNN, ViT, Swin Transformer, ResNet50, Hybrid models)
- Best Performance: Swin Transformer (91% test accuracy)
- Data augmentation pipeline
- Comprehensive evaluation metrics
Use Cases:
- Art market authentication
- Digital art verification
- Museum collection validation
Location: Artistic-Image-Generator-Inspired-By-Famous-Artists/
Generates artistic images in the style of famous artists using Stable Diffusion with RAG-enhanced prompts.
Key Features:
- Text-to-image generation with artist style transfer
- FAISS-based semantic search for style retrieval
- Smart prompt fusion combining user input with artist characteristics
- LoRA fine-tuning support for custom styles
Use Cases:
- Creative art generation
- Educational art style exploration
- Monument visualization in artistic styles
Location: Lost-Heritage-Restoration-Task-With-MultiModal-Conditional-Diffusion-Modals-Lora-PEFT-/
Restores damaged monuments and statues using fine-tuned Stable Diffusion XL with depth conditioning.
Key Features:
- Fine-tuned Stable Diffusion XL with LoRA + PEFT
- Multi-modal conditioning (depth maps, captions, damage masks)
- Automated data pipeline from Wikimedia Commons, Smithsonian, Europeana
- 40,000+ paired training samples (damaged β restored)
- High-fidelity 1024Γ1024 output resolution
Use Cases:
- Cultural heritage preservation
- Archaeological restoration
- Museum artifact reconstruction
Location: 2d-to-3d-conversion-with-Hyunyan-3d-finetuned-on-Art-statues-Pipeline-/
Converts 2D images of statues into realistic 3D meshes using Hunyuan3D diffusion model.
Key Features:
- Single-image 3D reconstruction
- GLB format output (AR/VR compatible)
- High-quality mesh generation
- Integration with 3D software (Blender, Unity)
Use Cases:
- 3D digitization of cultural artifacts
- AR/VR applications
- Virtual museum exhibitions
Location: AI-RAG-Agent-Answering-Art-related-questions/
Answers art-related questions using Retrieval-Augmented Generation with semantic search.
Key Features:
- RAG architecture with semantic embeddings
- Image processing and analysis pipeline
- Stable Diffusion integration for visual answers
- Comprehensive art knowledge base
Use Cases:
- Museum visitor assistance
- Art education platforms
- Research and documentation
Status: Separate repository (not included in this platform)
A specialized module for classifying fake vs. real artwork. This module is maintained independently and complements the other platform modules.
- Python 3.8 or higher
- CUDA-capable GPU (recommended for all modules)
- 16GB+ RAM (32GB recommended for training)
- 50GB+ free disk space for models and datasets
- Clone the repository:
git clone https://github.com/josephsenior/cultural-heritage-ai-platform.git
cd cultural-heritage-ai-platform- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Set up environment variables (create
.envfile):
HUGGINGFACE_TOKEN=your_token_here
CUDA_VISIBLE_DEVICES=0For detailed setup instructions, see GETTING_STARTED.md.
- Architecture Guide - Detailed system architecture and design decisions
- Getting Started - Step-by-step setup and usage guide
- Module Guides - Individual module documentation
| Module | Model | Accuracy/Metric | Notes |
|---|---|---|---|
| Art Authentication | Swin Transformer | 91% test accuracy | Best performing model |
| Heritage Restoration | Stable Diffusion XL + LoRA | High fidelity | 1024Γ1024 output |
| Image Generation | Stable Diffusion 1.0 | High quality | Artist style transfer |
| 2D to 3D | Hunyuan3D-DiT | Realistic meshes | GLB format output |
- Deep Learning: PyTorch, Transformers, Diffusers
- Computer Vision: Vision Transformers, CNNs, Swin Transformers
- Generative AI: Stable Diffusion XL, LoRA, PEFT
- 3D Processing: Hunyuan3D, Trimesh
- NLP/RAG: Sentence Transformers, FAISS, LangChain
- Image Processing: Real-ESRGAN, Waifu2x, DPT Hybrid
This platform demonstrates several innovative approaches:
- Multi-Modal Heritage Restoration: Combining depth maps, captions, and damage masks for realistic restoration
- Efficient Fine-Tuning: Using LoRA and PEFT for parameter-efficient model adaptation
- RAG-Enhanced Generation: Semantic search for style-aware image generation
- Hybrid Authentication: Combining multiple architectures for robust art verification
- Art Authentication: 130,000 images (100K train, 30K test)
- Heritage Restoration: 40,000+ image triplets from multiple sources
- Image Generation: Artist style dataset with descriptions
- RAG System: Art knowledge base with semantic embeddings
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
- Model improvements and optimizations
- Additional artist styles for generation
- New restoration techniques
- Documentation improvements
- Bug fixes and testing
This project is licensed under the MIT License - see the LICENSE file for details.
Note: Some datasets used are under respective Creative Commons and institutional licenses (e.g., Europeana, Wikimedia Commons, Smithsonian Museum).
Special thanks to:
- Hugging Face for model hosting and libraries
- Tencent for Hunyuan3D model
- Stability AI for Stable Diffusion
- Wikimedia Commons, Smithsonian Museum, Europeana for datasets
- The open-source community for various tools and libraries
- GitHub Issues: Open an issue
- Email: [Your email]
- LinkedIn: [Your LinkedIn profile]
Demo video coming soon!
If you find this project useful, please consider giving it a star β!
Built with β€οΈ for preserving and understanding cultural heritage