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.
- 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.
- React + Vite
- Tailwind CSS (Styling)
- Framer Motion (Animations)
- MediaPipe Hands (Computer Vision)
- Lucide React (Icons)
- FastAPI (Python)
- OpenCV (Geometric shape analysis)
- Pollinations AI (Generative AI)
- Python 3.8+
- Node.js 16+
git clone https://github.com/YOUR_USERNAME/Creative-AI.git
cd Creative-AIcd 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 --reloadcd frontend
npm install
npm run dev- Open http://localhost:5173.
- Allow camera access.
- Pinch your thumb and index finger to draw a shape in the frame.
- Click Generate and wait for the AI to weave its magic!
MIT License