/FaceChanger-ONNX

Warp faces in videos and images. ONNX models for detection/alignment

Primary LanguagePython

FaceChanger-ONNX

Warp faces in videos and images. ONNX models for better detection/alignment

This is NOT realtime, but has a few additional features... (read parameters.txt for more)

.

How to run on video, minimum commandline parameter:

python video.py --"input.mp4" --output "output.mp4"

  1. Select region of the face to be changed. Press enter to continue.

01

.

  1. Make your changes. Left mouse button drag, right mouse button zoom in/out, press 'r' to reset. Enter to continue

04

.

  1. Result video:
facechanger.mp4

.

Original FaceChanger: https://github.com/pascscha/FaceChanger

98 Keypoint detection: https://github.com/610265158/Peppa_Pig_Face_Landmark

Video taken from www.pexels.com