tencent cloud

Tencent Effect SDK

제품 소개
기본 개념
제품 장점
시나리오
구매 가이드
가격 리스트
구매 안내
연체 및 환불
Demo 체험
무료 평가판 License
License 가이드
License 추가 및 연장(모바일)
FAQ
SDK 다운로드
기능 설명
SDK 다운로드
SDK 통합 가이드
Tencent Effect SDK 통합하기
원자 기능 통합 가이드
API 문서
iOS
Android
Flutter
기능 사례
SDK 패키지 축소
뷰티 필터 시나리오의 권장 매개변수
UGSV 엔터프라이즈 버전 마이그레이션 가이드
서드 파티 퍼블리셔 Tencent Effect 통합(Flutter)
FAQ
일반 질문
기술 관련 질문
License 관련
TE SDK 정책
개인 정보 보호 정책
데이터 처리 및 보안 계약
문서Tencent Effect SDK

Performance Issue Troubleshooting

포커스 모드
폰트 크기
마지막 업데이트 시간: 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.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백