Class: TencentCloud::Vod::V20180717::AiReviewPoliticalOcrTaskOutput

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

Ocr 文字涉及令人不适宜的信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(confidence = nil, suggestion = nil, segmentset = nil, segmentsetfileurl = nil, segmentsetfileurlexpiretime = nil) ⇒ AiReviewPoliticalOcrTaskOutput

Returns a new instance of AiReviewPoliticalOcrTaskOutput.



2815
2816
2817
2818
2819
2820
2821
# File 'lib/v20180717/models.rb', line 2815

def initialize(confidence=nil, suggestion=nil, segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil)
  @Confidence = confidence
  @Suggestion = suggestion
  @SegmentSet = segmentset
  @SegmentSetFileUrl = segmentsetfileurl
  @SegmentSetFileUrlExpireTime = segmentsetfileurlexpiretime
end

Instance Attribute Details

#ConfidenceObject

<li>pass。</li> <li>review。</li> <li>block。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    Ocr 文字涉及令人不适宜的信息、违规评分,分值为0到100。

  • Suggestion:

    Ocr 文字涉及令人不适宜的信息、违规结果建议,取值范围:

  • SegmentSet:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



2813
2814
2815
# File 'lib/v20180717/models.rb', line 2813

def Confidence
  @Confidence
end

#SegmentSetObject

<li>pass。</li> <li>review。</li> <li>block。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    Ocr 文字涉及令人不适宜的信息、违规评分,分值为0到100。

  • Suggestion:

    Ocr 文字涉及令人不适宜的信息、违规结果建议,取值范围:

  • SegmentSet:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



2813
2814
2815
# File 'lib/v20180717/models.rb', line 2813

def SegmentSet
  @SegmentSet
end

#SegmentSetFileUrlObject

<li>pass。</li> <li>review。</li> <li>block。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    Ocr 文字涉及令人不适宜的信息、违规评分,分值为0到100。

  • Suggestion:

    Ocr 文字涉及令人不适宜的信息、违规结果建议,取值范围:

  • SegmentSet:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



2813
2814
2815
# File 'lib/v20180717/models.rb', line 2813

def SegmentSetFileUrl
  @SegmentSetFileUrl
end

#SegmentSetFileUrlExpireTimeObject

<li>pass。</li> <li>review。</li> <li>block。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    Ocr 文字涉及令人不适宜的信息、违规评分,分值为0到100。

  • Suggestion:

    Ocr 文字涉及令人不适宜的信息、违规结果建议,取值范围:

  • SegmentSet:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



2813
2814
2815
# File 'lib/v20180717/models.rb', line 2813

def SegmentSetFileUrlExpireTime
  @SegmentSetFileUrlExpireTime
end

#SuggestionObject

<li>pass。</li> <li>review。</li> <li>block。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    Ocr 文字涉及令人不适宜的信息、违规评分,分值为0到100。

  • Suggestion:

    Ocr 文字涉及令人不适宜的信息、违规结果建议,取值范围:

  • SegmentSet:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    Ocr 文字有涉及令人不适宜的信息、违规嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



2813
2814
2815
# File 'lib/v20180717/models.rb', line 2813

def Suggestion
  @Suggestion
end

Instance Method Details

#deserialize(params) ⇒ Object



2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
# File 'lib/v20180717/models.rb', line 2823

def deserialize(params)
  @Confidence = params['Confidence']
  @Suggestion = params['Suggestion']
  unless params['SegmentSet'].nil?
    @SegmentSet = []
    params['SegmentSet'].each do |i|
      mediacontentreviewocrtextsegmentitem_tmp = MediaContentReviewOcrTextSegmentItem.new
      mediacontentreviewocrtextsegmentitem_tmp.deserialize(i)
      @SegmentSet << mediacontentreviewocrtextsegmentitem_tmp
    end
  end
  @SegmentSetFileUrl = params['SegmentSetFileUrl']
  @SegmentSetFileUrlExpireTime = params['SegmentSetFileUrlExpireTime']
end