Transform your images into timeless ancient art!
A collaborative group project for image conversion using advanced AI techniques to recreate ancient art styles.
- 🎨 Convert modern images into ancient art styles (e.g., Renaissance, Baroque, Egyptian).
- 📤 Image Upload: Upload in JPEG formats.
- ⚙️ Style Selection: Choose and apply ancient styles to your images.
- 🔧 Customization Controls: Adjust style intensity for desired effects.
- 🖼️ Preview Function: Real-time preview of converted images before final download.
- 📊 High-Resolution Outputs: Get high-quality image results suitable for printing or sharing.
- React.js (UI Development)
- Axios (API Integration)
- React Router (Navigation)
- Flask (API Development)
- Flask-CORS (Cross-Origin Resource Sharing)
- pymongo (MongoDB Integration)
- python-dotenv (Environment Management)
- MongoDB (Image metadata and storage)
- Neural Style Transfer (NST)
- Generative Adversarial Networks (GANs)
Follow these steps to set up and run the project locally.
Ensure the following software is installed on your system:
- Python 3.13.1 or later
- Node.js (v18+) and npm
- MongoDB (Local or Atlas)
- Git
- Fork the repository by clicking on
Fork
option on top right of the main repository. - Clone the Repository:
git clone https://github.com/<your-username>/Ancient-Vision.git cd Ancient-Vision/frontend
- Install Dependencies:
npm install
- Run the Development Server:
npm start
- Open http://localhost:3000 in your browser to view the app.
- Navigate to the Backend Directory:
cd Ancient-Vision/backend
- Set Up a Virtual Environment:
python3 -m venv venv source venv/bin/activate
- Install Dependencies:
pip install -r requirements.txt
- Configure Environment Variables:
Create a .env file with the following variables:
MONGO_URI=mongodb://localhost:27017/ancient_vision_db SECRET_KEY=supersecretkey
- Run the Backend Server:
export FLASK_APP=app flask run
- The backend will run at http://127.0.0.1:5000.
This project is for academic purposes only and is restricted to contributors. Not intended for public use or distribution.
For details on how to contribute, see CONTRIBUTING.md.