Class: TencentCloud::Mps::V20190612::AiRecognitionTaskFaceResultItem

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

Overview

人脸识别结果

Instance Attribute Summary collapse

  • #Birthday ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #Gender ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #Id ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #Name ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #PersonType ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #PlaceOfBirth ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #Profession ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #Remark ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #SchoolOfGraduation ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #SegmentSet ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #Type ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .
  • #Url ⇒ Object
  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(id = nil, type = nil, name = nil, segmentset = nil, gender = nil, birthday = nil, profession = nil, schoolofgraduation = nil, abstract = nil, placeofbirth = nil, persontype = nil, remark = nil, url = nil) ⇒ AiRecognitionTaskFaceResultItem

    Returns a new instance of AiRecognitionTaskFaceResultItem.

    
    
    3117
    3118
    3119
    3120
    3121
    3122
    3123
    3124
    3125
    3126
    3127
    3128
    3129
    3130
    3131
    # File 'lib/v20190612/models.rb', line 3117
    
    def initialize(id=nil, type=nil, name=nil, segmentset=nil, gender=nil, birthday=nil, profession=nil, schoolofgraduation=nil, abstract=nil, placeofbirth=nil, persontype=nil, remark=nil, url=nil)
      @Id = id
      @Type = type
      @Name = name
      @SegmentSet = segmentset
      @Gender = gender
      @Birthday = birthday
      @Profession = profession
      @SchoolOfGraduation = schoolofgraduation
      @Abstract = abstract
      @PlaceOfBirth = placeofbirth
      @PersonType = persontype
      @Remark = remark
      @Url = url
    end
    

    Instance Attribute Details

    #AbstractObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Abstract
      @Abstract
    end
    

    #BirthdayObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Birthday
      @Birthday
    end
    

    #GenderObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Gender
      @Gender
    end
    

    #IdObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Id
      @Id
    end
    

    #NameObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Name
      @Name
    end
    

    #PersonTypeObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def PersonType
      @PersonType
    end
    

    #PlaceOfBirthObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def PlaceOfBirth
      @PlaceOfBirth
    end
    

    #ProfessionObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Profession
      @Profession
    end
    

    #RemarkObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Remark
      @Remark
    end
    

    #SchoolOfGraduationObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def SchoolOfGraduation
      @SchoolOfGraduation
    end
    

    #SegmentSetObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def SegmentSet
      @SegmentSet
    end
    

    #TypeObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Type
      @Type
    end
    

    #UrlObject

  • Default:默认人物库;
  • UserDefine:用户自定义人物库。
  • Male:男性;
  • Female:女性。
  • Politician:官员;
  • Artist:艺人。
  • Normal:正常;
  • Sensitive:敏感。
  • Parameters:

    • Id:

      人物唯一标识 ID。

    • Type:

      人物库类型,表示识别出的人物来自哪个人物库:

    • Name:

      人物名称。

    • SegmentSet:

      人物出现的片段结果集。

    • Gender:

      人物性别:

    • Birthday:

      人物出生日期。

    • Profession:

      人物职业或者职务。

    • SchoolOfGraduation:

      人物毕业院校。

    • Abstract:

      人物简介。

    • PlaceOfBirth:

      人物出生地或者籍贯。

    • PersonType:

      人物类型:

    • Remark:

      敏感度标注:

    • Url:

      截图链接

    
    
    3115
    3116
    3117
    # File 'lib/v20190612/models.rb', line 3115
    
    def Url
      @Url
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    3133
    3134
    3135
    3136
    3137
    3138
    3139
    3140
    3141
    3142
    3143
    3144
    3145
    3146
    3147
    3148
    3149
    3150
    3151
    3152
    3153
    3154
    # File 'lib/v20190612/models.rb', line 3133
    
    def deserialize(params)
      @Id = params['Id']
      @Type = params['Type']
      @Name = params['Name']
      unless params['SegmentSet'].nil?
        @SegmentSet = []
        params['SegmentSet'].each do |i|
          airecognitiontaskfacesegmentitem_tmp = AiRecognitionTaskFaceSegmentItem.new
          airecognitiontaskfacesegmentitem_tmp.deserialize(i)
          @SegmentSet << airecognitiontaskfacesegmentitem_tmp
        end
      end
      @Gender = params['Gender']
      @Birthday = params['Birthday']
      @Profession = params['Profession']
      @SchoolOfGraduation = params['SchoolOfGraduation']
      @Abstract = params['Abstract']
      @PlaceOfBirth = params['PlaceOfBirth']
      @PersonType = params['PersonType']
      @Remark = params['Remark']
      @Url = params['Url']
    end