Closed sun5066 closed 1 year ago
https://github.com/AgoraIO/FaceUnity/blob/0e1ae5516024ee08ed4fbd8ef65d13778859b4a1/Agora-Video-With-FaceUnity-Android/app/src/main/java/io/agora/framework/PreprocessorFaceUnity.java#L197
It actually works because the rotation angle is 90 or 270, but the logic is not clear.You can refer to another example below for clearer integration steps.
https://github.com/AgoraIO/API-Examples/blob/main/Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/beauty/FaceUnityBeauty.java
https://github.com/AgoraIO/FaceUnity/blob/0e1ae5516024ee08ed4fbd8ef65d13778859b4a1/Agora-Video-With-FaceUnity-Android/app/src/main/java/io/agora/framework/PreprocessorFaceUnity.java#L197