Spaces:
Runtime error
Runtime error
title: A VirtualMakeup | |
emoji: π | |
colorFrom: blue | |
colorTo: pink | |
sdk: gradio | |
sdk_version: 4.44.1 | |
app_file: app.py | |
pinned: false | |
# Makeup Application | |
This project applies makeup to faces in images using dlib and OpenCV. | |
## Installation | |
1. Install system dependencies for dlib: | |
```sh | |
apt-get update | |
apt-get install -y cmake | |
``` | |
2. Install Python packages: | |
```sh | |
pip install -r requirements.txt | |
``` | |
3. Download and extract the facial landmark predictor: | |
```sh | |
wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 | |
bunzip2 shape_predictor_68_face_landmarks.dat.bz2 | |
``` | |
## Usage | |
Run the application: | |
```sh | |
python app.py | |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |