Class: TencentCloud::Mps::V20190612::AiReviewTerrorismTaskOutput

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

Overview

涉敏信息

Instance Attribute Summary collapse

  • #Label ⇒ Object
  • pass。
  • review。
  • block。
  • guns:武器枪支。
  • crowd:人群聚集。
  • police:警察部队。
  • bloody:血腥画面。
  • banners:涉敏旗帜。
  • militant:武装分子。
  • explosion:爆炸火灾。
  • terrorists:涉敏人物。
  • scenario:涉敏画面。
  • .
  • #SegmentSet ⇒ Object
  • pass。
  • review。
  • block。
  • guns:武器枪支。
  • crowd:人群聚集。
  • police:警察部队。
  • bloody:血腥画面。
  • banners:涉敏旗帜。
  • militant:武装分子。
  • explosion:爆炸火灾。
  • terrorists:涉敏人物。
  • scenario:涉敏画面。
  • .
  • #Suggestion ⇒ Object
  • pass。
  • review。
  • block。
  • guns:武器枪支。
  • crowd:人群聚集。
  • police:警察部队。
  • bloody:血腥画面。
  • banners:涉敏旗帜。
  • militant:武装分子。
  • explosion:爆炸火灾。
  • terrorists:涉敏人物。
  • scenario:涉敏画面。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ AiReviewTerrorismTaskOutput

    Returns a new instance of AiReviewTerrorismTaskOutput.

    
    
    4707
    4708
    4709
    4710
    4711
    4712
    # File 'lib/v20190612/models.rb', line 4707
    
    def initialize(confidence=nil, suggestion=nil, label=nil, segmentset=nil)
      @Confidence = confidence
      @Suggestion = suggestion
      @Label = label
      @SegmentSet = segmentset
    end

    Instance Attribute Details

    #ConfidenceObject

  • pass。
  • review。
  • block。
  • guns:武器枪支。
  • crowd:人群聚集。
  • police:警察部队。
  • bloody:血腥画面。
  • banners:涉敏旗帜。
  • militant:武装分子。
  • explosion:爆炸火灾。
  • terrorists:涉敏人物。
  • scenario:涉敏画面。
  • Parameters:

    • Confidence:

      视频涉敏评分,分值为0到100。

    • Suggestion:

      涉敏结果建议,取值范围:

    • Label:

      视频涉敏结果标签,取值范围:

    • SegmentSet:

      有涉敏嫌疑的视频片段列表。

    
    
    4705
    4706
    4707
    # File 'lib/v20190612/models.rb', line 4705
    
    def Confidence
      @Confidence
    end

    #LabelObject

  • pass。
  • review。
  • block。
  • guns:武器枪支。
  • crowd:人群聚集。
  • police:警察部队。
  • bloody:血腥画面。
  • banners:涉敏旗帜。
  • militant:武装分子。
  • explosion:爆炸火灾。
  • terrorists:涉敏人物。
  • scenario:涉敏画面。
  • Parameters:

    • Confidence:

      视频涉敏评分,分值为0到100。

    • Suggestion:

      涉敏结果建议,取值范围:

    • Label:

      视频涉敏结果标签,取值范围:

    • SegmentSet:

      有涉敏嫌疑的视频片段列表。

    
    
    4705
    4706
    4707
    # File 'lib/v20190612/models.rb', line 4705
    
    def Label
      @Label
    end

    #SegmentSetObject

  • pass。
  • review。
  • block。
  • guns:武器枪支。
  • crowd:人群聚集。
  • police:警察部队。
  • bloody:血腥画面。
  • banners:涉敏旗帜。
  • militant:武装分子。
  • explosion:爆炸火灾。
  • terrorists:涉敏人物。
  • scenario:涉敏画面。
  • Parameters:

    • Confidence:

      视频涉敏评分,分值为0到100。

    • Suggestion:

      涉敏结果建议,取值范围:

    • Label:

      视频涉敏结果标签,取值范围:

    • SegmentSet:

      有涉敏嫌疑的视频片段列表。

    
    
    4705
    4706
    4707
    # File 'lib/v20190612/models.rb', line 4705
    
    def SegmentSet
      @SegmentSet
    end

    #SuggestionObject

  • pass。
  • review。
  • block。
  • guns:武器枪支。
  • crowd:人群聚集。
  • police:警察部队。
  • bloody:血腥画面。
  • banners:涉敏旗帜。
  • militant:武装分子。
  • explosion:爆炸火灾。
  • terrorists:涉敏人物。
  • scenario:涉敏画面。
  • Parameters:

    • Confidence:

      视频涉敏评分,分值为0到100。

    • Suggestion:

      涉敏结果建议,取值范围:

    • Label:

      视频涉敏结果标签,取值范围:

    • SegmentSet:

      有涉敏嫌疑的视频片段列表。

    
    
    4705
    4706
    4707
    # File 'lib/v20190612/models.rb', line 4705
    
    def Suggestion
      @Suggestion
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    4714
    4715
    4716
    4717
    4718
    4719
    4720
    4721
    4722
    4723
    4724
    4725
    4726
    # File 'lib/v20190612/models.rb', line 4714
    
    def deserialize(params)
      @Confidence = params['Confidence']
      @Suggestion = params['Suggestion']
      @Label = params['Label']
      unless params['SegmentSet'].nil?
        @SegmentSet = []
        params['SegmentSet'].each do |i|
          mediacontentreviewsegmentitem_tmp = MediaContentReviewSegmentItem.new
          mediacontentreviewsegmentitem_tmp.deserialize(i)
          @SegmentSet << mediacontentreviewsegmentitem_tmp
        end
      end
    end