A small script to implement the artifact's face changing technology. Replace the face in the target folder into the face in the content folder. Because of the loop, all this is done automatically, as long as the picture is placed in the corresponding folder. In addition to exchanging faces, you can also replace the faces in the expression package into the faces you want. Try a lot of it.
The project has the following dependencies:
- dlib
- cv2
- numpy
By the way,it also needs shape_predictor_68_face_landmarks.dat