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
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:
|
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.
Was this page helpful?