The first feature is to replace our face with another picture. Mine was not very well done as I did not remove the background of the picture. Resulting it not looking realistic as there is block square around my face. The second feature is to put a phrase at the area of our face. The last one is to blacken the area that my face is at.
All of this features uses the face detection function. The face detection is not very good as it aways flickers and it cannot correctly detect my faces at times as we can see in the video. It works by detecting out face and next max retrieves the X and Y coordinates of the square of the face detection. From there, we can do whatever we want.