The Face Detection and Replacement Package Design

Date:

source code
demo 1 / demo 2

  1. Utilized human skin color as feature to train GMM model to filter out face region candidates. Combined with edge mask to separate union face regions for better detection.
  2. Implemented PCA to construct Eigen Faces dataset and included the third-part package Face++ to improve detection performance. The final accuracy of detection reached 82.6%.
  3. Implemented image morphing such as TPS and gradient blending to complete face replacement task.