Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
6.2.0
metadata
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
Install system dependencies for dlib:
apt-get update apt-get install -y cmakeInstall Python packages:
pip install -r requirements.txtDownload and extract the facial landmark predictor:
wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 bunzip2 shape_predictor_68_face_landmarks.dat.bz2
Usage
Run the application:
python app.py
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference