top of page

For our project, we wanted to create a face swapping program using MATLAB and computational photography skills. we used MATLAB’s inbuilt implementation of the Viola-Jones algorithm for face detection and feature point recognition.  This was a function of MATLAB’s Computer Vision Toolbox.  We created our own face mask of 13 specific points and used the polygon function of the face detection method to draw our mask around the area of the face. After identifying the faces, we crop them out and swap them and use a blending algorithm to give a more uniform result. We designed our custom face mask to give us more accurate results and implemented multiple snapchat style masks.

 

bottom of page