• Stars
    star
    1,395
  • Rank 33,684 (Top 0.7 %)
  • Language
    Python
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python script to put facial features from one face onto another

This is the code behind the Switching Eds blog post.

See the link for an explanation of the code.

To run the script you'll need to install dlib (http://dlib.net) including its Python bindings, and OpenCV. You'll also need to obtain the trained model from sourceforge.

Unzip with bunzip2 and change PREDICTOR_PATH to refer to this file. The script is run like so:

./faceswap.py <head image> <face image>

If successful, a file output.jpg will be produced with the facial features from <head image> replaced with the facial features from <face image>.

More Repositories

1

deep-anpr

Using neural networks to build an automatic number plate recognition system
Python
1,837
star
2

q1physrl

Quake 1 movement physics reinforcement learning
Jupyter Notebook
93
star
3

photo-a-day-aligner

Tools to help compose images from daily self-portrait time lapses
Python
84
star
4

pyquake

Python interface for Quake assets and protocols
Python
70
star
5

lorri-align

Script to register and combine images from the New Horizon's probe
Python
29
star
6

inversehaar

Haar Cascade Inverter
Python
17
star
7

quess-stockfish

Python
14
star
8

ioquake3

Fork of the official ioquake3 repo with various hacks added by me
C
12
star
9

gchq-xmas

A solver for GCHQ's christmas card puzzle
Python
12
star
10

height-map-vis

Program to calculate line-of-sight visibility given height map data.
Python
11
star
11

Raycaster

A small raycasting engine written some time between 2000 and 2005.
C
11
star
12

q1logic

Python
4
star
13

Telescope-Guide

A script to tell you where a telescope is pointing.
Python
4
star
14

demsuperimpose

Python
3
star
15

q3bsp2povray

Convert Q3 BSPs to Pov Ray scenes (SDL)
Python
3
star
16

quakespasm

My various quakespasm hacks
C
2
star
17

quake-notes

A collection of random notes on the Quake engine, descriptions of bugs and so on.
2
star
18

Quake-2-Tools

C
2
star
19

tasquakepy

Python
1
star
20

dem-transpose

Utility to transform Quake demos into a more compressible format
C
1
star
21

scope-motor

Project for controlling my telescope clock drive with an ATmega328
Python
1
star
22

anagram-solver

Python
1
star
23

matthewearl.github.io

HTML
1
star
24

timelapseutils

Utilities for creating timelapse photography sequences from CR2 files
Python
1
star