FaceUp is a web-based application that allows users to overlay different facial accessories on their images using p5.js and ml5.js for pose detection. The project detects 13 keypoints of the body and uses facial key points to accurately overlay face accessories.
- Full-body keypoint detection using ml5.js
- Facial keypoint tracking for accurate placement of overlays
- Various face accessories (glasses, masks, etc.) to choose from
- Interactive UI with toggleable keypoints and skeleton visualization
- Simple and lightweight, built with HTML, CSS, and JavaScript
FaceUp/
├── index.html # Main HTML file
├── public/
│ └── images/ # Image assets (overlays like glasses, masks, etc.)
├── src/
│ ├── sketch.js # JavaScript file handling pose detection and image overlays
│ └── style.css # Styling for the project
└── README.md # Project documentation
- Clone the repository:
git clone https://github.com/Sourabh-Kumar04/FaceUp.git
- Navigate to the project directory:
cd FaceUp
- Open
index.html
in a browser to run the application locally.
You can deploy FaceUp on Vercel by following these steps:
- Install Vercel CLI (if not installed):
npm install -g vercel
- Deploy the project:
vercel
Follow the CLI instructions to complete deployment.
- Open the webpage.
- Select an image overlay from the provided options.
- Enable or disable full-body keypoints and skeleton for visualization.
- Apply facial overlays (glasses, masks, etc.) precisely using facial keypoints.
- p5.js - For canvas rendering
- ml5.js - For body and face keypoint detection
- HTML, CSS, JavaScript - Frontend development
This project is open-source and available under the Apache License 2.0.
Made with ❤️ by Sourabh Kumar