Skip to content

HasiniPadakandla/Creative-AI-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gesture-Based Creative AI System ๐ŸŽจโœจ

A full-stack AI application where your gestures in the air are transformed into creative stories and high-quality digital art. Using MediaPipe for real-time hand tracking and Pollinations AI for keyless generative power.

๐Ÿš€ Features

  • Real-Time Hand Tracking: Local processing using MediaPipe for zero-latency drawing.
  • Gesture Commands:
    • Draw: Pinch thumb and index finger to draw.
    • Clear: Use the "Clear" button to wipe the canvas.
    • Generate: Send your shape to the AI with a single click.
  • Rule-Based Shape Recognition: Backend logic that detects Circles, Triangles, Rectangles, and Lines.
  • Keyless AI Generation:
    • Text: Creative stories generated via Pollinations AI.
    • Images: High-quality cinematic art based on your drawn shapes.
  • Premium UI: Futuristic dark-mode dashboard with glassmorphism and smooth animations.

๐Ÿ› ๏ธ Tech Stack

Frontend

  • React + Vite
  • Tailwind CSS (Styling)
  • Framer Motion (Animations)
  • MediaPipe Hands (Computer Vision)
  • Lucide React (Icons)

Backend

  • FastAPI (Python)
  • OpenCV (Geometric shape analysis)
  • Pollinations AI (Generative AI)

๐Ÿ“ฆ Installation & Setup

Prerequisites

  • Python 3.8+
  • Node.js 16+

1. Clone the repository

git clone https://github.com/YOUR_USERNAME/Creative-AI.git
cd Creative-AI

2. Backend Setup

cd backend
python -m venv venv
# Windows
.\venv\Scripts\Activate.ps1
# Mac/Linux
source venv/bin/activate

pip install -r requirements.txt
uvicorn app.main:app --reload

3. Frontend Setup

cd frontend
npm install
npm run dev

๐ŸŽฎ How to Use

  1. Open http://localhost:5173.
  2. Allow camera access.
  3. Pinch your thumb and index finger to draw a shape in the frame.
  4. Click Generate and wait for the AI to weave its magic!

๐Ÿ“œ License

MIT License

About

A full-stack AI application where your gestures in the air are transformed into creative stories and high-quality digital art.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors