class TencentCloud::Ims::V20200713::OcrTextDetail

OCR文本结果详情

def deserialize(params)

def deserialize(params)
  @Text = params['Text']
  @Label = params['Label']
  @LibId = params['LibId']
  @LibName = params['LibName']
  @Keywords = params['Keywords']
  @Score = params['Score']
  unless params['Location'].nil?
    @Location = Location.new
    @Location.deserialize(params['Location'])
  end
  @Rate = params['Rate']
  @SubLabel = params['SubLabel']
end

def initialize(text=nil, label=nil, libid=nil, libname=nil, keywords=nil, score=nil, location=nil, rate=nil, sublabel=nil)

def initialize(text=nil, label=nil, libid=nil, libname=nil, keywords=nil, score=nil, location=nil, rate=nil, sublabel=nil)
  @Text = text
  @Label = label
  @LibId = libid
  @LibName = libname
  @Keywords = keywords
  @Score = score
  @Location = location
  @Rate = rate
  @SubLabel = sublabel
end