Class: TencentCloud::Mps::V20190612::FaceConfigureInfoForUpdate
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::FaceConfigureInfoForUpdate
- Defined in:
- lib/v20190612/models.rb
Overview
人脸识别任务控制参数
Instance Attribute Summary collapse
-
#DefaultLibraryLabelSet ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
. -
#FaceLibrary ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
. -
#Score ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
. -
#Switch ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
. -
#UserDefineLibraryLabelSet ⇒ Object
- ON:开启智能人脸识别任务;
- OFF:关闭智能人脸识别任务。
- entertainment:娱乐明星;
- sport:体育明星;
- politician:敏感人物。
标签个数最多 100 个,每个标签长度最多 16 个字符。- Default:使用默认人物库;
- UserDefine:使用用户自定义人物库。
- All:同时使用默认人物库和用户自定义人物库。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, score = nil, defaultlibrarylabelset = nil, userdefinelibrarylabelset = nil, facelibrary = nil) ⇒ FaceConfigureInfoForUpdate
constructor
A new instance of FaceConfigureInfoForUpdate.
Constructor Details
#initialize(switch = nil, score = nil, defaultlibrarylabelset = nil, userdefinelibrarylabelset = nil, facelibrary = nil) ⇒ FaceConfigureInfoForUpdate
Returns a new instance of FaceConfigureInfoForUpdate.
16760 16761 16762 16763 16764 16765 16766 |
# File 'lib/v20190612/models.rb', line 16760 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
16758 16759 16760 |
# File 'lib/v20190612/models.rb', line 16758 def DefaultLibraryLabelSet @DefaultLibraryLabelSet end |
#FaceLibrary ⇒ Object
16758 16759 16760 |
# File 'lib/v20190612/models.rb', line 16758 def FaceLibrary @FaceLibrary end |
#Score ⇒ Object
16758 16759 16760 |
# File 'lib/v20190612/models.rb', line 16758 def Score @Score end |
#Switch ⇒ Object
16758 16759 16760 |
# File 'lib/v20190612/models.rb', line 16758 def Switch @Switch end |
#UserDefineLibraryLabelSet ⇒ Object
16758 16759 16760 |
# File 'lib/v20190612/models.rb', line 16758 def UserDefineLibraryLabelSet @UserDefineLibraryLabelSet end |
Instance Method Details
#deserialize(params) ⇒ Object
16768 16769 16770 16771 16772 16773 16774 |
# File 'lib/v20190612/models.rb', line 16768 def deserialize(params) @Switch = params['Switch'] @Score = params['Score'] @DefaultLibraryLabelSet = params['DefaultLibraryLabelSet'] @UserDefineLibraryLabelSet = params['UserDefineLibraryLabelSet'] @FaceLibrary = params['FaceLibrary'] end |