tencent cloud

User Generated Short Video SDK

뉴스 및 공지사항
Release Notes
The “startPlay” API of the UGSV SDK Renamed
제품소개
Overview
Features
Use Cases
Concepts
구매 가이드
Pricing Overview
Refund Policy
라이선스 가이드
Adding and Renewing a License
Configuring and Viewing a License
SDK 다운로드
SDK Download
Release Notes (App)
UI 통합 솔루션 포함
UGSV Demo App
Source Code Description (iOS)
Source Code Description (Android)
UI 통합 솔루션 없음
SDK Integration
Capturing and Shoot
Preview, Clipping, and Splicing
Upload and Playback
Tencent Effect SDK
Advanced Features and Special Effects
API 문서
Editing
Shooting
기술적 지원
Error Codes
Feature FAQs
일반적인 문제
Upload
Android Compilation
Android
iOS
License
UGSV 정책
개인 정보 보호 정책
데이터 처리 및 보안 계약

Video Porn Detection

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2020-09-01 14:56:48
In scenarios such as personal live streaming shoot and UGSV, the video content is unpredictable. To prevent non-compliant contents from being displayed on the VOD platform, you need to audit the uploaded videos first and transcode and distribute them after confirming that they are compliant. The Tencent Cloud UGSV solution supports AI-based porn detection in videos, which can automatically identify whether a video involves pornographic information.

Using AI-based Porn Detection

The AI-based porn detection feature can be used only after it is integrated into the video processing task flow. It depends on the video AI - content audit feature on the VOD backend, and the audit result will be sent to the application backend service as an event notification. VOD has a built-in task flow QCVB_ProcessUGCFile for UGSV porn detection scenarios. If you use this task flow and specify to perform AI-based porn detection, the porn detection task will be executed first, and whether to perform subsequent operations (such as transcoding, watermarking, and screencapturing) will be determined based on the porn detection result.

AI Template Overview

Template ID
Porn Processing
Sample Rate
10
End the task flow (operations such as transcoding, watermarking, and screencapturing will not be executed subsequently)
For videos whose duration is less than 500 seconds, sampling is performed once per second; for videos whose duration is greater than or equal to 500 seconds, sampling is performed once every 1% of the duration
20
Continue executing the task flow
None

AI-based Porn Detection Connection Sample

Step 1. Submit an AI-based porn detection task when generating an upload signature

/**
* Generate a signature that contains an AI-based porn detection task
*/
function getUploadSignature(req, res) {
res.json({
code: 0,
message: 'ok',
data: {
// Specify the template parameters and task flow during the upload
signature: gVodHelper.createFileUploadSignature({ procedure: 'QCVB_SimpleProcessFile({1,1,1,1})' })
}
});
}

Step 2. Get the AI-based porn detection result when getting the event notification

/**
* Get the AI-based porn detection result of the event
*/
function getAiReviewResult(event){
let data = event.eventContent.data;
if(data.aiReview){
return data.aiReview;
}
return {};
}


도움말 및 지원

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

피드백