Introduction:

These days when learning face recognition technology saw this small video, should be a lot of people also know people, everyone still remember ha! , zhu Yin’s huang Rong has been replaced with Yang Mi’s face.

This change face technology true true of the fantastic, completely do not see, admire three even, although this technology came out very early, but set up this technology is good! Under the impulse xiaobian to this technology to share with you!

This artificial intelligence is really special force, I also saw a variety of DIFFERENT AI face, of course, technology is not good or bad, but people are always good and bad, so we should take good care of their private information ha ~~

The body of the

All right! Let’s get started

This is done with the help of a third-party API, which requires minimal coding. Is actually lazy!!

We use the API interface of the disclosing party is Face++, first we need to the site registered an account, the registered address is: https://console.faceplusplus.com.cn/register, after open as shown below:

After registering the account, we go to the login addresshttps://console.faceplusplus.com.cn/loginAfter login, we will find that the website has already created the application for us, as shown in the picture below:

Code implementation steps:

(1).Obtain key point position of face:

​​

​​

(2) Face change. The size of the image should not exceed 2M, and number represents the similarity of face change.

Here are the renderings:

The first group:

​​​

The second group:

​​

The third group:

​​

conclusion

Set one and set three fit perfectly, no problem

Ha ha ha ha ~ like the star little sister, little brother! You can try it yourself

Source code base: #959755565# free!

​​