nWhovian / AnastasiaTest

Тестовое задание для Анастасии Громовой

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Face swap using dlib and OpenCV

Installation guide

Clone repository:

git clone https://github.com/nWhovian/AnastasiaTest.git
cd path/to/repository

The face_swap.ipynb file contains a detailed solution with illustrations, python scripts contain more structured, readable code with an improved triangulation approach

Run the algorithm:

python main.py --img1 assets/img_3.jpeg --img2 assets/img_4.jpeg

Optional arguments: --out results --predictor_path assets/shape_predictor_68_face_landmarks.dat

The output files are located here by default: path/to/repository/results

About

Тестовое задание для Анастасии Громовой


Languages

Language:Jupyter Notebook 99.6%Language:Python 0.4%