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