In filter project, I am developing an application that applies filters to human faces in an image. I used deepface library for face detection, ResNet18 for facial landmarks detection, and then apply filters to the faces using Delaunay triangulation and affine transformation.
In this repository, I implement an application that applies filters to faces using deepface, ResNet18, along with two algorithms: Delaunay triangulation and affine transformation. Subsequently, I deploy it as a web application using the Gradio library.
# clone project
git clone https://github.com/dxcanh/filter.git
cd filter
# create conda environment
conda create -n filter python=3.9
conda activate filter
pip install -r requirements.txt
Run application
python -m app
Now, you can access the application at localhost:4000
Below are images of the application interface.