Coder Social home page Coder Social logo

snapped's Introduction

SNAPPED

What

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.

Setup

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

Run

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

Who

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

Contributors

janhartman avatar

Watchers

 avatar Martin Kozmelj avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.