260 likes | 946 Views
Face Swapping. Jackson Reed Jake HilBorn Ryan Misura. Motivation. Social Aspect Snapchat Over 10 million users Facebook’s 3 billion offer Over 300 billion photos sent a day Lucrative. How it works?. Swapping Algorithm.
E N D
Face Swapping Jackson Reed Jake HilBorn Ryan Misura
Motivation • Social Aspect • Snapchat • Over 10 million users • Facebook’s 3 billion offer • Over 300 billion photos sent a day • Lucrative
Swapping Algorithm Using openCV and haarcascade classifier, detect bounding box of face in image. Do this for both images to get two bounding boxes. Next draw ellipse within bounding box to encompass just the face. Create a “mask” that will distinguish between face pixels and background pixels For each image take the corresponding pixels from the other image and map them over the face. Scaling will be done to ensure that the swapped faces are aligned to the right size.
Pending Features Get server code hosted/working Continue android implementation Blending Recoloring/re-lighting