public class CelebrityRecognitionResultBody extends Object
| Constructor and Description |
|---|
CelebrityRecognitionResultBody() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Float |
getConfidence()
置信度,取值范围 0-1。
|
Object |
getFaceDetail()
名人的面部信息,包括4个值: h:人脸区域高度 w:人脸区域宽度 x:人脸区域左上角到y轴距离 y:人脸区域左上角到x轴距离
|
String |
getLabel()
label为对应的名人信息。
|
int |
hashCode() |
void |
setConfidence(Float confidence) |
void |
setFaceDetail(Object faceDetail) |
void |
setLabel(String label) |
String |
toString() |
CelebrityRecognitionResultBody |
withConfidence(Float confidence) |
CelebrityRecognitionResultBody |
withFaceDetail(Object faceDetail) |
CelebrityRecognitionResultBody |
withLabel(String label) |
public CelebrityRecognitionResultBody withConfidence(Float confidence)
public Float getConfidence()
public void setConfidence(Float confidence)
public CelebrityRecognitionResultBody withFaceDetail(Object faceDetail)
public Object getFaceDetail()
public void setFaceDetail(Object faceDetail)
public CelebrityRecognitionResultBody withLabel(String label)
public String getLabel()
public void setLabel(String label)
Copyright © 2021. All rights reserved.