tencent cloud

Tencent Effect SDK

Release Notes and Announcements
Release Notes
Tencent Effect SDK V3.5 Version Released
Tencent Effects SDK V3.0 Version Related API and Material Changes
Product Introduction
Overview
Features
Basic Concepts
Strengths
Use Cases
Purchase Guide
Pricing Overview
Purchase Guide
Payment Overdue and Refund
Tutorial
Demos
Free Trial License
Licenses
Adding and Renewing a License (Mobile)
Adding and Renewing a License (Desktop)
Adding and Renewing a License (Web)
FAQs
SDK Download
Features
SDK Download
Version History
SDK Integration Guide(No UI)
General Integration of Tencent Effect
Integrating Capabilities
SDK Integration Guide(Including UI)
General Integration of Tencent Effect
Integrating Tencent Effect into MLVB SDK
Integrating Tencent Effect into TRTC SDK
Integrating Tencent Effect into UGSV SDK
Virtual Avatars
API Documentation
iOS
Android
Flutter
Web
Feature Guide
Reducing SDK Size
SDK Integration Issue Troubleshooting
Performance Fine-Tuning
Effect Fine-Tuning
Material Usage
Effect Parameters
Recommended Parameters in Beautification Scenarios
UGSV Enterprise Edition Migration Guide
Integrating Tencent Effect for Third-Party Publishers (Flutter)
Integrating Beauty AR Web into Mini Programs
Tencent Effect Studio Usage
Beauty AR Web
Overview
Quick Start
SDK Integration
Parameters and APIs
Console Guide
Demos
Preset Effect List
Practical Tutorial
FAQs
FAQs
General
Technical
License
Legacy Documentation
Recommended Parameters in Beautification Scenarios
Beauty Parameters Table
One-Minute Integration of TRTC
One-Minute Integration of Live Streaming
TE SDK Policy
Privacy Policy
Data Processing And Security Agreement
Contact Us

Performance Issue Troubleshooting

PDF
聚焦模式
字号
最后更新时间: 2024-07-05 14:16:07
If you find that the beauty filter processing takes a considerable amount of time, you can troubleshoot using the following methods.

Step 1: Check the resolution of the image being processed by the beauty filter.

Reason: Resolution refers to the number of pixels in an image or video, typically represented by width and height. Beauty filter processing involves complex algorithmic computations and treatments on the image, such as skin smoothing, whitening, and removing blemishes. Therefore, the size of the resolution directly affects the duration of beauty filter processing.
A higher resolution means more pixels in the image, requiring more computations and processing. This results in a longer duration needed for beauty filter processing. Conversely, a lower resolution means fewer pixels in the image, needing less computational effort and therefore, a shorter duration for beauty filter processing.
Additionally, beauty filter processing often involves treating multiple areas of the image, such as face detection and facial feature point localization. In images with a higher resolution, more pixels and more complex image details need to be processed, which may require more time to complete.
Therefore, it is necessary to balance the resolution and beauty effects to achieve satisfactory processing speed and image quality.

Step 2: Check the log switch.

When the log is set to Log.DEBUG, the beauty filter will print a large amount of log information during processing, thus affecting performance. So, it is advised to set it to LOG.WARN when releasing the application package.

Step 3: 3D/GAN stickers are resource-intensive and may cause lag on low-end devices. Whether to enable them can be determined based on the actual situation.

Step 4: If experiencing screen lag, check if the push stream frame rate is set too low. It is recommended to adjust it to above 24 fps.

If your application is not smooth even without the Beauty Filter, it is necessary to check the camera frame rate in the RTC module. You may improve the smoothness of the video by appropriately increasing the camera frame rate.
If you are using TRTC, you can refer to this document for frame rate adjustment.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈