A tool for replacing a person's face in a collection of images with another person's face.
Point it at a collection of images, an image of the target person and an image of another person. It will search all the images in the collection and replace all occurrences of target person's face with the other face you provided, thus snapping the target away with a snap of your fingers.
apt install -y python3 python3-pip cmake git python3-opencv
pip3 install face-recognition numpy scipy dlib flask
# Credit to https://github.com/ageitgey/face_recognition and https://github.com/wuhuikai/FaceSwap
Place the images in the images directory.
# Command-line script:
python3 snap.py <target_image> <new_person_image>
# To run the server:
FLASK_APP=server.py flask run
# Server is accessible on localhost:5000
Authors:
- Jan Hartman
- Rok Kanduti
- Martin Kozmelj
- Luka Zlatečan
Winners of Best Software Hack award and overall 3rd place award at DragonHack 2019.
snapped's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
OpenClaw
Personal AI Assistant
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.