Giter Site home page Giter Site logo

sync-face-detection-and-replacement's Introduction

Sync-Face-Detection-And-Replacement

Sync Face Detection And Replacement

The goal of this project is automatic detection and replacement of faces in videos. Given a test video, you will automatically replace a target face. Ideally, you should do this in the most stable way possible.

Seamlessly face replacement is a non-trivial process. For the rest of this document, we shall use the fol- lowing terminology: face(s) in the video = target face(s), face(s) used for replacement = replacement face(s). First, you will build a model of the replacement face. You can use a single, well aligned photo, or a sequence under different poses. You will have to devise a scheme to be able to detect and localize similar looking faces in video frames. One way to do this is with feature detection, matching, and voting. Once you detect a face in a test image, you must estimate the warping between the candidate replacement face(s) and the detected candidate target face(s). We could suggest extending previously explored concepts such as sim- ple affine, warp, or you can allow additional deformity using TPS. You are of course not limited to these and are encouraged to experiment with any other suitable approaches you may find. If you are using mul- tiple faces for training, you should match against all of them and use the one that requires the least morphing. Appearance matching may be necessary to compensate for shadows, lighting and skin tone. The target face will need to be cropped out, and a morph of the appropriate replacement should be inserted in its place, and the final video frame blended seamlessly. When dealing with videos, you might expect the faces in the video to move. For extra credit, you are also encouraged to explore methods for motion compensation.

sync-face-detection-and-replacement's People

Contributors

frankaging avatar

Watchers

 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.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

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