Class LiveStreamFaceRecognitionResult
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.LiveStreamFaceRecognitionResult
-
public class LiveStreamFaceRecognitionResult extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description LiveStreamFaceRecognitionResult()LiveStreamFaceRecognitionResult(LiveStreamFaceRecognitionResult source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long[]getAreaCoordSet()Get 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。FloatgetConfidence()Get 识别片段置信度。取值:0~100。FloatgetEndPtsTime()Get 识别片段终止的 PTS 时间,单位:秒。StringgetId()Get 人物唯一标识 ID。StringgetName()Get 人物名称。FloatgetStartPtsTime()Get 识别片段起始的 PTS 时间,单位:秒。StringgetType()Get 人物库类型,表示识别出的人物来自哪个人物库: Default:默认人物库;UserDefine:用户自定义人物库。voidsetAreaCoordSet(Long[] AreaCoordSet)Set 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。voidsetConfidence(Float Confidence)Set 识别片段置信度。取值:0~100。voidsetEndPtsTime(Float EndPtsTime)Set 识别片段终止的 PTS 时间,单位:秒。voidsetId(String Id)Set 人物唯一标识 ID。voidsetName(String Name)Set 人物名称。voidsetStartPtsTime(Float StartPtsTime)Set 识别片段起始的 PTS 时间,单位:秒。voidsetType(String Type)Set 人物库类型,表示识别出的人物来自哪个人物库: Default:默认人物库;UserDefine:用户自定义人物库。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
LiveStreamFaceRecognitionResult
public LiveStreamFaceRecognitionResult()
-
LiveStreamFaceRecognitionResult
public LiveStreamFaceRecognitionResult(LiveStreamFaceRecognitionResult source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getId
public String getId()
Get 人物唯一标识 ID。- Returns:
- Id 人物唯一标识 ID。
-
setId
public void setId(String Id)
Set 人物唯一标识 ID。- Parameters:
Id- 人物唯一标识 ID。
-
getName
public String getName()
Get 人物名称。- Returns:
- Name 人物名称。
-
setName
public void setName(String Name)
Set 人物名称。- Parameters:
Name- 人物名称。
-
getType
public String getType()
Get 人物库类型,表示识别出的人物来自哪个人物库:- Default:默认人物库;
- UserDefine:用户自定义人物库。
- Returns:
- Type 人物库类型,表示识别出的人物来自哪个人物库:
- Default:默认人物库;
- UserDefine:用户自定义人物库。
-
setType
public void setType(String Type)
Set 人物库类型,表示识别出的人物来自哪个人物库:- Default:默认人物库;
- UserDefine:用户自定义人物库。
- Parameters:
Type- 人物库类型,表示识别出的人物来自哪个人物库:- Default:默认人物库;
- UserDefine:用户自定义人物库。
-
getStartPtsTime
public Float getStartPtsTime()
Get 识别片段起始的 PTS 时间,单位:秒。- Returns:
- StartPtsTime 识别片段起始的 PTS 时间,单位:秒。
-
setStartPtsTime
public void setStartPtsTime(Float StartPtsTime)
Set 识别片段起始的 PTS 时间,单位:秒。- Parameters:
StartPtsTime- 识别片段起始的 PTS 时间,单位:秒。
-
getEndPtsTime
public Float getEndPtsTime()
Get 识别片段终止的 PTS 时间,单位:秒。- Returns:
- EndPtsTime 识别片段终止的 PTS 时间,单位:秒。
-
setEndPtsTime
public void setEndPtsTime(Float EndPtsTime)
Set 识别片段终止的 PTS 时间,单位:秒。- Parameters:
EndPtsTime- 识别片段终止的 PTS 时间,单位:秒。
-
getConfidence
public Float getConfidence()
Get 识别片段置信度。取值:0~100。- Returns:
- Confidence 识别片段置信度。取值:0~100。
-
setConfidence
public void setConfidence(Float Confidence)
Set 识别片段置信度。取值:0~100。- Parameters:
Confidence- 识别片段置信度。取值:0~100。
-
getAreaCoordSet
public Long[] getAreaCoordSet()
Get 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。- Returns:
- AreaCoordSet 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
-
setAreaCoordSet
public void setAreaCoordSet(Long[] AreaCoordSet)
Set 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。- Parameters:
AreaCoordSet- 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
-
-