Class: TencentCloud::Bda::V20200324::BodyDetectResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::BodyDetectResult
- Defined in:
- lib/v20200324/models.rb
Overview
图中检测出来的人体框。
Instance Attribute Summary collapse
-
#BodyAttributeInfo ⇒ Object
误识率百分之十对应的阈值是0.14;误识率百分之五对应的阈值是0.32;误识率百分之二对应的阈值是0.62;误识率百分之一对应的阈值是0.81。 通常情况建议使用阈值0.32,可适用大多数情况。.
-
#BodyRect ⇒ Object
误识率百分之十对应的阈值是0.14;误识率百分之五对应的阈值是0.32;误识率百分之二对应的阈值是0.62;误识率百分之一对应的阈值是0.81。 通常情况建议使用阈值0.32,可适用大多数情况。.
-
#Confidence ⇒ Object
误识率百分之十对应的阈值是0.14;误识率百分之五对应的阈值是0.32;误识率百分之二对应的阈值是0.62;误识率百分之一对应的阈值是0.81。 通常情况建议使用阈值0.32,可适用大多数情况。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(confidence = nil, bodyrect = nil, bodyattributeinfo = nil) ⇒ BodyDetectResult
constructor
A new instance of BodyDetectResult.
Constructor Details
#initialize(confidence = nil, bodyrect = nil, bodyattributeinfo = nil) ⇒ BodyDetectResult
Returns a new instance of BodyDetectResult.
179 180 181 182 183 |
# File 'lib/v20200324/models.rb', line 179 def initialize(confidence=nil, bodyrect=nil, bodyattributeinfo=nil) @Confidence = confidence @BodyRect = bodyrect @BodyAttributeInfo = bodyattributeinfo end |
Instance Attribute Details
#BodyAttributeInfo ⇒ Object
误识率百分之十对应的阈值是0.14;误识率百分之五对应的阈值是0.32;误识率百分之二对应的阈值是0.62;误识率百分之一对应的阈值是0.81。通常情况建议使用阈值0.32,可适用大多数情况。
177 178 179 |
# File 'lib/v20200324/models.rb', line 177 def BodyAttributeInfo @BodyAttributeInfo end |
#BodyRect ⇒ Object
误识率百分之十对应的阈值是0.14;误识率百分之五对应的阈值是0.32;误识率百分之二对应的阈值是0.62;误识率百分之一对应的阈值是0.81。通常情况建议使用阈值0.32,可适用大多数情况。
177 178 179 |
# File 'lib/v20200324/models.rb', line 177 def BodyRect @BodyRect end |
#Confidence ⇒ Object
误识率百分之十对应的阈值是0.14;误识率百分之五对应的阈值是0.32;误识率百分之二对应的阈值是0.62;误识率百分之一对应的阈值是0.81。通常情况建议使用阈值0.32,可适用大多数情况。
177 178 179 |
# File 'lib/v20200324/models.rb', line 177 def Confidence @Confidence end |
Instance Method Details
#deserialize(params) ⇒ Object
185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/v20200324/models.rb', line 185 def deserialize(params) @Confidence = params['Confidence'] unless params['BodyRect'].nil? @BodyRect = BodyRect.new @BodyRect.deserialize(params['BodyRect']) end unless params['BodyAttributeInfo'].nil? @BodyAttributeInfo = BodyAttributeInfo.new @BodyAttributeInfo.deserialize(params['BodyAttributeInfo']) end end |