public class LiveStreamFaceRecognitionResult extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long[] |
getAreaCoordSet()
Get Zone coordinates of recognition result.
|
Float |
getConfidence()
Get Confidence of recognized segment.
|
Float |
getEndPtsTime()
Get End PTS time of recognized segment in seconds.
|
String |
getId()
Get Unique ID of figure.
|
String |
getName()
Get Figure name.
|
Float |
getStartPtsTime()
Get Start PTS time of recognized segment in seconds.
|
String |
getType()
Get Figure library type, indicating to which figure library the recognized figure belongs:
Default: default figure libraryUserDefine: custom figure library
|
void |
setAreaCoordSet(Long[] AreaCoordSet)
Set Zone coordinates of recognition result.
|
void |
setConfidence(Float Confidence)
Set Confidence of recognized segment.
|
void |
setEndPtsTime(Float EndPtsTime)
Set End PTS time of recognized segment in seconds.
|
void |
setId(String Id)
Set Unique ID of figure.
|
void |
setName(String Name)
Set Figure name.
|
void |
setStartPtsTime(Float StartPtsTime)
Set Start PTS time of recognized segment in seconds.
|
void |
setType(String Type)
Set Figure library type, indicating to which figure library the recognized figure belongs:
Default: default figure libraryUserDefine: custom figure library
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public LiveStreamFaceRecognitionResult()
public LiveStreamFaceRecognitionResult(LiveStreamFaceRecognitionResult source)
public String getId()
public void setId(String Id)
Id
- Unique ID of figure.public String getName()
public void setName(String Name)
Name
- Figure name.public String getType()
public void setType(String Type)
Type
- Figure library type, indicating to which figure library the recognized figure belongs:
public Float getStartPtsTime()
public void setStartPtsTime(Float StartPtsTime)
StartPtsTime
- Start PTS time of recognized segment in seconds.public Float getEndPtsTime()
public void setEndPtsTime(Float EndPtsTime)
EndPtsTime
- End PTS time of recognized segment in seconds.public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- Confidence of recognized segment. Value range: 0–100.public Long[] getAreaCoordSet()
public void setAreaCoordSet(Long[] AreaCoordSet)
AreaCoordSet
- Zone coordinates of recognition result. The array contains four elements: [x1,y1,x2,y2], i.e., the horizontal and vertical coordinates of the top-left and bottom-right corners.Copyright © 2023. All rights reserved.