Class: TencentCloud::Mps::V20190612::FaceConfigureInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::FaceConfigureInfo
- Defined in:
- lib/v20190612/models.rb
Overview
人脸识别任务控制参数
Instance Attribute Summary collapse
-
#DefaultLibraryLabelSet ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
默认值:All,使用系统默认人物库及用户自定义人物库。. -
#FaceLibrary ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
默认值:All,使用系统默认人物库及用户自定义人物库。. -
#Score ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
默认值:All,使用系统默认人物库及用户自定义人物库。. -
#Switch ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
默认值:All,使用系统默认人物库及用户自定义人物库。. -
#UserDefineLibraryLabelSet ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
默认值:All,使用系统默认人物库及用户自定义人物库。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, score = nil, defaultlibrarylabelset = nil, userdefinelibrarylabelset = nil, facelibrary = nil) ⇒ FaceConfigureInfo
constructor
A new instance of FaceConfigureInfo.
Constructor Details
#initialize(switch = nil, score = nil, defaultlibrarylabelset = nil, userdefinelibrarylabelset = nil, facelibrary = nil) ⇒ FaceConfigureInfo
Returns a new instance of FaceConfigureInfo.
16719 16720 16721 16722 16723 16724 16725 |
# File 'lib/v20190612/models.rb', line 16719 def initialize(switch=nil, score=nil, defaultlibrarylabelset=nil, userdefinelibrarylabelset=nil, facelibrary=nil) @Switch = switch @Score = score @DefaultLibraryLabelSet = defaultlibrarylabelset @UserDefineLibraryLabelSet = userdefinelibrarylabelset @FaceLibrary = facelibrary end |
Instance Attribute Details
#DefaultLibraryLabelSet ⇒ Object
16717 16718 16719 |
# File 'lib/v20190612/models.rb', line 16717 def DefaultLibraryLabelSet @DefaultLibraryLabelSet end |
#FaceLibrary ⇒ Object
16717 16718 16719 |
# File 'lib/v20190612/models.rb', line 16717 def FaceLibrary @FaceLibrary end |
#Score ⇒ Object
16717 16718 16719 |
# File 'lib/v20190612/models.rb', line 16717 def Score @Score end |
#Switch ⇒ Object
16717 16718 16719 |
# File 'lib/v20190612/models.rb', line 16717 def Switch @Switch end |
#UserDefineLibraryLabelSet ⇒ Object
16717 16718 16719 |
# File 'lib/v20190612/models.rb', line 16717 def UserDefineLibraryLabelSet @UserDefineLibraryLabelSet end |
Instance Method Details
#deserialize(params) ⇒ Object
16727 16728 16729 16730 16731 16732 16733 |
# File 'lib/v20190612/models.rb', line 16727 def deserialize(params) @Switch = params['Switch'] @Score = params['Score'] @DefaultLibraryLabelSet = params['DefaultLibraryLabelSet'] @UserDefineLibraryLabelSet = params['UserDefineLibraryLabelSet'] @FaceLibrary = params['FaceLibrary'] end |