class TencentCloud::Tione::V20211111::FilterLabelInfo
图片列表查询结果详情
def deserialize(params)
def deserialize(params) @DatasetId = params['DatasetId'] @FileId = params['FileId'] @FileName = params['FileName'] @ClassificationLabels = params['ClassificationLabels'] unless params['DetectionLabels'].nil? @DetectionLabels = [] params['DetectionLabels'].each do |i| detectionlabelinfo_tmp = DetectionLabelInfo.new detectionlabelinfo_tmp.deserialize(i) @DetectionLabels << detectionlabelinfo_tmp end end unless params['SegmentationLabels'].nil? @SegmentationLabels = [] params['SegmentationLabels'].each do |i| segmentationinfo_tmp = SegmentationInfo.new segmentationinfo_tmp.deserialize(i) @SegmentationLabels << segmentationinfo_tmp end end @RGBPath = params['RGBPath'] @LabelTemplateType = params['LabelTemplateType'] @DownloadUrl = params['DownloadUrl'] @DownloadThumbnailUrl = params['DownloadThumbnailUrl'] @DownloadRGBUrl = params['DownloadRGBUrl'] @OcrScene = params['OcrScene'] unless params['OcrLabels'].nil? @OcrLabels = [] params['OcrLabels'].each do |i| ocrlabelinfo_tmp = OcrLabelInfo.new ocrlabelinfo_tmp.deserialize(i) @OcrLabels << ocrlabelinfo_tmp end end @OcrLabelInfo = params['OcrLabelInfo'] @TextClassificationLabelList = params['TextClassificationLabelList'] @RowText = params['RowText'] @ContentOmit = params['ContentOmit'] end
def initialize(datasetid=nil, fileid=nil, filename=nil, classificationlabels=nil, detectionlabels=nil, segmentationlabels=nil, rgbpath=nil, labeltemplatetype=nil, downloadurl=nil, downloadthumbnailurl=nil, downloadrgburl=nil, ocrscene=nil, ocrlabels=nil, ocrlabelinfo=nil, textclassificationlabellist=nil, rowtext=nil, contentomit=nil)
def initialize(datasetid=nil, fileid=nil, filename=nil, classificationlabels=nil, detectionlabels=nil, segmentationlabels=nil, rgbpath=nil, labeltemplatetype=nil, downloadurl=nil, downloadthumbnailurl=nil, downloadrgburl=nil, ocrscene=nil, ocrlabels=nil, ocrlabelinfo=nil, textclassificationlabellist=nil, rowtext=nil, contentomit=nil) @DatasetId = datasetid @FileId = fileid @FileName = filename @ClassificationLabels = classificationlabels @DetectionLabels = detectionlabels @SegmentationLabels = segmentationlabels @RGBPath = rgbpath @LabelTemplateType = labeltemplatetype @DownloadUrl = downloadurl @DownloadThumbnailUrl = downloadthumbnailurl @DownloadRGBUrl = downloadrgburl @OcrScene = ocrscene @OcrLabels = ocrlabels @OcrLabelInfo = ocrlabelinfo @TextClassificationLabelList = textclassificationlabellist @RowText = rowtext @ContentOmit = contentomit end