logo
On this page

After enabling the face slimming effect, when the user's face is close to the edge of the screen, the surrounding area will have a black block, how should it be handled?

2024-02-06
Products / Plugins:AI Effects
Platform / Framework:iOS / Android / macOS / Windows

The face slimming area is a rectangle, the head takes up too much of the screen, resulting in no pixels that can be stretched around. By using any of the following methods, this problem can be solved:

  • Scaling the texture by 1.1 times before displaying it on screen can help reduce this issue.
  • Alternatively, you can enlarge the view used to display the image by 1.1 times based on the center of the view.

Previous

How to customize the back button event during a call?

Next

How to handle the case where the certificate is obtained but the beauty effect is not effective?