🎩 Hat Tip

“Without hats there is no civilization” - Christian Dior ✨

🎨 Hats
ball-cap.png
cowboy-hat.png
fedora-hat.png
party-hat.png
pink-cowboy-hat-1.png
top-hat.png
wizard-hat.png
📸

Drop your photo here

or click anywhere in this area

Preview
How it Works

This app uses OpenCV's computer vision capabilities to detect faces in your photos and automatically add fun hats to them! Here's the technical breakdown:

  • Face Detection: Uses OpenCV's Haar Cascade classifier to identify faces in images
  • Hat Placement: Calculates optimal hat position based on face coordinates
  • Image Processing: Handles image composition using PIL (Python Imaging Library)
Built with AI

This entire application was built using Replit's AI tools:

  • Replit Agent: Used for initial app scaffolding and core functionality
  • Replit Assistant: Helped refine the UI and add additional features