ImageLibProps
Properties for defining a ImageLib
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-imagelib
Initializer
using AlibabaCloud.SDK.ROS.CDK.Aligreen;
new ImageLibProps {
object Category,
object ImageLibName,
object Scene,
object BizTypes = null,
object Enable = null
};
Properties
Name | Type | Description |
---|---|---|
Category |
object |
Property category: The category of the image library. |
ImageLibName |
object |
Property imageLibName: The name of the image library defined by the customer. |
Scene |
object |
Property scene: The moderation scenario to which the custom image library applies. |
BizTypes |
object |
Property bizTypes: List of business scenarios. |
Enable |
object |
Property enable: Specifies whether to enable the image library. |
Category
Required
public object Category { get; set; }
- Type: object
Property category: The category of the image library.
Valid values: BLACK: a blacklist, WHITE: a whitelist, REVIEW: a review list.
ImageLibName
Required
public object ImageLibName { get; set; }
- Type: object
Property imageLibName: The name of the image library defined by the customer.
It can contain no more than 20 characters in Chinese, English, and underscore (_).
Scene
Required
public object Scene { get; set; }
- Type: object
Property scene: The moderation scenario to which the custom image library applies.
Valid values: PORN: pornography detection, AD: ad detection, ILLEGAL: terrorist content detection.
BizTypes
Optional
public object BizTypes { get; set; }
- Type: object
Property bizTypes: List of business scenarios.
For example: ["bizTypeA", "bizTypeB", "bizTypeC"].
Enable
Optional
public object Enable { get; set; }
- Type: object
Property enable: Specifies whether to enable the image library.
Valid values: true: Enable the image library. This is the default value. false: Disable the image library.