Class: TencentCloud::Mps::V20190612::AiRecognitionTaskFaceResultItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AiRecognitionTaskFaceResultItem
- Defined in:
- lib/v20190612/models.rb
Overview
人脸识别结果
Instance Attribute Summary collapse
-
#Abstract ⇒ Object
- Default:默认人物库;
- UserDefine:用户自定义人物库。
- Male:男性;
- Female:女性。
- Politician:官员;
- Artist:艺人。
- Normal:正常;
- Sensitive:敏感。
. -
#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
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of AiRecognitionTaskFaceResultItem.
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
#Abstract ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def Abstract @Abstract end |
#Birthday ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def Birthday @Birthday end |
#Gender ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def Gender @Gender end |
#Id ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def Id @Id end |
#Name ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def Name @Name end |
#PersonType ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def PersonType @PersonType end |
#PlaceOfBirth ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def PlaceOfBirth @PlaceOfBirth end |
#Profession ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def Profession @Profession end |
#Remark ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def Remark @Remark end |
#SchoolOfGraduation ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def SchoolOfGraduation @SchoolOfGraduation end |
#SegmentSet ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def SegmentSet @SegmentSet end |
#Type ⇒ Object
3115 3116 3117 |
# File 'lib/v20190612/models.rb', line 3115 def Type @Type end |
#Url ⇒ Object
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 |