tencent cloud

Feedback

Template Configuration

Last updated: 2023-04-17 15:01:47
    Log in to the VOD console and select Application Management on the left sidebar.
    1. Select the target application.
    2. Select Media Processing > Template Settings on the left sidebar. Templates related to image processing include image processing templates and content moderation templates.

    Image Processing Template

    Select Image Processing Template and click Create Image Processing Template.
    Template name: Up to 64 characters; supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), and periods (.).
    How to process: Scale or crop.
    Scale:
    Width: Specify the output width (pixels). Value range: 1-9999. Do not select this if you want the width to be scaled proportionally.
    Height: Specify the output height (pixels). Value range: 1-9999. Do not select this if you want the height to be scaled proportionally.
    Crop:
    Crop to circle
    Radius: Specify the radius (greater than 0) of the output circle.
    Crop to rectangle
    Target size: Specify the width (pixels) and height (pixels) of the output rectangle. Value range: 1-9999.

    Preset templates

    For information about preset image processing templates, see Preset Templates - Image Processing.

    Content Moderation Template

    Select the Content moderation tab and click Create template.
    Template name: Up to 64 characters; supports Chinese characters, letters, digits, spaces, underscores (_), hyphens (-), and periods (.).
    Template details:
    Moderation Items: The moderation labels to use, which may include porn, terrorism, politically sensitive, ads, illegal, and abuse.
    Label value: The values of the labels to use, which correspond to the Label parameter in ReviewImageResult.
    Moderated content type: The type of content on which moderation will be performed. The following content types are supported:
    Images (Form in ReviewImageResult is Image)
    Text in images (Form in ReviewImageResult is OCR)
    Moderation Item
    Label Value
    Moderated Content Type
    Pornography
    Porn
    Images; Text in images.
    Terrorism
    Terror
    Images; Text in images.
    Politically sensitive
    Polity
    Images; Text in images.
    Ads
    Ad
    Images; Text in images.
    Illegal
    Illegal
    Images; Text in images.
    Abusive
    Abuse
    Text in images
    The templates created are displayed in the template list, where you can view, edit, or delete a template.
    Note:
    A content moderation template can be used for both image moderation and audio/video moderation.
    For audio/video moderation, the content types speech and sounds are also supported. For details, see Video Processing Settings - Templates Settings - Moderation Template.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support