Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.46.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 cmake
Install Python packages:
pip install -r requirements.txt
Download 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