# Combining beauty and background removal

**URL:** <https://forum.deepar.ai/t/combining-beauty-and-background-removal/300>\
**Category:** Studio\
**Created:** [May 15, 2023, 11:56pm UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300 "2023-05-15T23:56:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Randy\_Chapman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/randy_chapman/32/387_2.png) [@Randy\_Chapman](https://forum.deepar.ai/u/Randy_Chapman)\
**Post date:** [May 15, 2023, 11:56pm UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300/1 "2023-05-15T23:56:12Z")

</div>

Me again 🙂

Is it supported to combine both the beauty filter and the background removal filter? I have tried as both two separate effects, loaded into two different slots and, just now, as a single effect. In both cases, I have the same problem – an egg-like halo around the face of the camera scene.

Here is a picture showing what I am seeing:

 ![Screenshot 2023-05-15 165443](https://europe1.discourse-cdn.com/flex017/uploads/deepar/original/1X/b2ce5653d1662e9128cbe19a201f98cb9348f051.jpeg)

Here’s my test project.  
[emovid-beauty.deeparproj.zip](https://forum.deepar.ai/uploads/short-url/eZJc0UKBiDJOVtU4cSie5sA5Iul.zip) (4.3 MB)

Thanks again for all your help!  
–randy

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [May 16, 2023, 4:00pm UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300/2 "2023-05-16T16:00:14Z")

</div>

The object you are seeing is the beauty morpher which renders the camera image over the background the soluition is to render the segemented background and forground to a render texture and set this render texture as an input, I will attach a sample soon

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [May 16, 2023, 6:40pm UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300/3 "2023-05-16T18:40:39Z")

</div>

[beautywithbackground.deeparproj.zip](https://forum.deepar.ai/uploads/short-url/sHRaeWZUK2BIMMJBU4oVUz1QZVG.zip) (6.0 MB)  
As promised, your project with a render texture setup

---

<div class="post-metadata">

**Author:** ![Randy\_Chapman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/randy_chapman/32/387_2.png) [@Randy\_Chapman](https://forum.deepar.ai/u/Randy_Chapman)\
**Post date:** [May 18, 2023, 11:08pm UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300/4 "2023-05-18T23:08:42Z")

</div>

Thank you! Unfortunately, this doesn’t seem to completely work except on the green-screen style sample videos. You can still see the artifact as a slightly darker area, with some slight alpha blending of it’s contents, with some of your sample videos. Here’s an example.

 ![Screenshot 2023-05-18 155508](https://europe1.discourse-cdn.com/flex017/uploads/deepar/original/1X/e6b38cc1679b56d46211f28e3a35d4de1765f755.png)

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [May 19, 2023, 2:08pm UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300/5 "2023-05-19T14:08:08Z")

</div>

[fix-emovid-beauty.deeparproj.zip](https://forum.deepar.ai/uploads/short-url/5km5VG8go82w1RuRPox1yotkAnE.zip) (6.0 MB)  
The segmentation mask on the web SDKs tends to need a bit of help blurring the edges. I replaced the foreground shader with the one from our template

---

<div class="post-metadata">

**Author:** ![Randy\_Chapman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/randy_chapman/32/387_2.png) [@Randy\_Chapman](https://forum.deepar.ai/u/Randy_Chapman)\
**Post date:** [May 23, 2023, 5:35pm UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300/6 "2023-05-23T17:35:38Z")

</div>

Thank you, this is great!

---

<div class="post-metadata">

**Author:** ![Dimas\_Surya](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/dimas_surya/32/701_2.png) [@Dimas\_Surya](https://forum.deepar.ai/u/Dimas_Surya)\
**Post date:** [November 23, 2023, 6:53am UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300/7 "2023-11-23T06:53:44Z")

</div>

Hello, I’m experiencing the same issue. I can’t access Blend Shapes in the file, and I’m unable to make the face look slender when I add them manually, encountering numerous problems. Is there an example for this? Thank you.

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [November 23, 2023, 7:02pm UTC](https://forum.deepar.ai/t/combining-beauty-and-background-removal/300/8 "2023-11-23T19:02:28Z")

</div>

Hello @Dimas_Surya can you share the exact assets you’re having issues with, it sounds like it might be a different issue
