
Add virtual hats on photos
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
Built by

Matt Palmer
x.com/mattppal