using System.Xml.Serialization;
namespace COSXML.Model.Tag
{
///
/// 图片审核结果
///
[XmlRoot("RecognitionResult")]
public sealed class SensitiveRecognitionResult
{
///
/// 鉴黄审核信息
///
[XmlElement]
public RecognitionInfo PornInfo;
///
/// 鉴暴恐审核信息
///
[XmlElement]
public RecognitionInfo TerroristInfo;
///
/// 鉴政审核信息
///
[XmlElement]
public RecognitionInfo PoliticsInfo;
///
/// 广告审核信息
///
[XmlElement]
public RecognitionInfo AdsInfo;
///
/// 原图信息
///
public sealed class RecognitionInfo
{
///
/// 错误码,0为正确,其他数字对应相应错误
///
[XmlElement]
public int Code;
///
/// 具体错误信息,如正常则为 OK
///
[XmlElement]
public string Msg;
///
/// 是否命中该审核分类,0表示未命中,1表示命中,2表示疑似
///
[XmlElement]
public int HitFlag;
///
/// 审核分值。0 - 60分表示图片正常,60 - 90分表示图片疑似敏感,90 - 100分表示图片确定敏感
///
[XmlElement]
public int Score;
///
/// 识别出的图片标签
///
[XmlElement]
public string Label;
///
/// 视频文件参数,该类型违规的截图张数
///
[XmlElement]
public int Count;
}
}
}