Add a background behind the user's face
Good evening, sorry if I write bad English, however I am a new user, I would like to create a filter in which the background is an image, and the face of who uses the lens is in the foreground but I can not, the image that I insert, It always appears to be facing my face, I can not make it appear behind me. Do you know how I can do?
Thanks so much
Something similar to this feature in AR Studio, Separating People from the Backgrounds and Extracting Textures
https://developers.facebook.com/docs/ar-studio/tutorials/separating-people-from-backgrounds
Sorry if I mention the competition but I would do just this effect
Hi Cristian,
Have you seen the new face particles template? The template makes it so the user is always in front of the particles. It also uses the Rotation tracking mode to make it feel like the particles are in the world.
Try out the new Face Particles Template here and let us know if you have any additional questions.
Cheers,
Kaitlyn
Hello Kaitlyn, thanks for the advice, I downloaded the template and I can make the background appear, but now I have another problem, I have to make two mesh appear on the user's face but using the head occlusion, occlude everything .... I can do? Attack two images to show you.
Sorry if I disturb but for me it is truly a new world. And an advice, where can I learn to write with the code used by lens studio? Thanks so much!
Hi there! Read the section in the guide called "Adding Face Effects" here:
https://lensstudio.snapchat.com/templates/face/face-particles/
Basically, because of the occlusion, Face Effects or objects need to be added to a different layer for them to render within the occluded area. Hope that helps!