Class: TencentCloud::Mps::V20190612::AiReviewPornOcrTaskOutput

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

Overview

Ocr 文字涉黄信息

Instance Attribute Summary collapse

  • #SegmentSet ⇒ Object
  • pass。
  • review。
  • block。
  • .
  • #Suggestion ⇒ Object
  • pass。
  • review。
  • block。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(confidence = nil, suggestion = nil, segmentset = nil) ⇒ AiReviewPornOcrTaskOutput

    Returns a new instance of AiReviewPornOcrTaskOutput.

    
    
    4007
    4008
    4009
    4010
    4011
    # File 'lib/v20190612/models.rb', line 4007
    
    def initialize(confidence=nil, suggestion=nil, segmentset=nil)
      @Confidence = confidence
      @Suggestion = suggestion
      @SegmentSet = segmentset
    end

    Instance Attribute Details

    #ConfidenceObject

  • pass。
  • review。
  • block。
  • Parameters:

    • Confidence:

      Ocr 文字涉黄评分,分值为0到100。

    • Suggestion:

      Ocr 文字涉黄结果建议,取值范围:

    • SegmentSet:

      Ocr 文字有涉黄嫌疑的视频片段列表。

    
    
    4005
    4006
    4007
    # File 'lib/v20190612/models.rb', line 4005
    
    def Confidence
      @Confidence
    end

    #SegmentSetObject

  • pass。
  • review。
  • block。
  • Parameters:

    • Confidence:

      Ocr 文字涉黄评分,分值为0到100。

    • Suggestion:

      Ocr 文字涉黄结果建议,取值范围:

    • SegmentSet:

      Ocr 文字有涉黄嫌疑的视频片段列表。

    
    
    4005
    4006
    4007
    # File 'lib/v20190612/models.rb', line 4005
    
    def SegmentSet
      @SegmentSet
    end

    #SuggestionObject

  • pass。
  • review。
  • block。
  • Parameters:

    • Confidence:

      Ocr 文字涉黄评分,分值为0到100。

    • Suggestion:

      Ocr 文字涉黄结果建议,取值范围:

    • SegmentSet:

      Ocr 文字有涉黄嫌疑的视频片段列表。

    
    
    4005
    4006
    4007
    # File 'lib/v20190612/models.rb', line 4005
    
    def Suggestion
      @Suggestion
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    4013
    4014
    4015
    4016
    4017
    4018
    4019
    4020
    4021
    4022
    4023
    4024
    # File 'lib/v20190612/models.rb', line 4013
    
    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
    end