Class: TencentCloud::Mps::V20190612::AiSampleFaceOperation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AiSampleFaceOperation
- Defined in:
- lib/v20190612/models.rb
Overview
AI 样本管理,人脸数据操作。
Instance Attribute Summary collapse
-
#FaceContents ⇒ Object
- 当 Type为add 或 reset 时,该字段必填;
- 数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。. -
#FaceIds ⇒ Object
- 当 Type为add 或 reset 时,该字段必填;
- 数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。. -
#Type ⇒ Object
- 当 Type为add 或 reset 时,该字段必填;
- 数组长度限制:5 张图片。
注意:图片必须是单人像正面人脸较清晰的照片,像素不低于 200*200。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, faceids = nil, facecontents = nil) ⇒ AiSampleFaceOperation
constructor
A new instance of AiSampleFaceOperation.
Constructor Details
#initialize(type = nil, faceids = nil, facecontents = nil) ⇒ AiSampleFaceOperation
Returns a new instance of AiSampleFaceOperation.
4763 4764 4765 4766 4767 |
# File 'lib/v20190612/models.rb', line 4763 def initialize(type=nil, faceids=nil, facecontents=nil) @Type = type @FaceIds = faceids @FaceContents = facecontents end |
Instance Attribute Details
#FaceContents ⇒ Object
4761 4762 4763 |
# File 'lib/v20190612/models.rb', line 4761 def FaceContents @FaceContents end |
#FaceIds ⇒ Object
4761 4762 4763 |
# File 'lib/v20190612/models.rb', line 4761 def FaceIds @FaceIds end |
#Type ⇒ Object
4761 4762 4763 |
# File 'lib/v20190612/models.rb', line 4761 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
4769 4770 4771 4772 4773 |
# File 'lib/v20190612/models.rb', line 4769 def deserialize(params) @Type = params['Type'] @FaceIds = params['FaceIds'] @FaceContents = params['FaceContents'] end |