public class Candidate extends AbstractModel
Constructor and Description |
---|
Candidate() |
Modifier and Type | Method and Description |
---|---|
String |
getFaceId()
Get Face ID
|
Long |
getGender()
Get Person gender
Note: this field may return null, indicating that no valid values can be obtained.
|
PersonGroupInfo[] |
getPersonGroupInfos()
Get List of groups containing this person and their description fields
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getPersonId()
Get Person ID
|
String |
getPersonName()
Get Person name
Note: this field may return null, indicating that no valid values can be obtained.
|
Float |
getScore()
Get Match score of candidate.
|
void |
setFaceId(String FaceId)
Set Face ID
|
void |
setGender(Long Gender)
Set Person gender
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPersonGroupInfos(PersonGroupInfo[] PersonGroupInfos)
Set List of groups containing this person and their description fields
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setPersonId(String PersonId)
Set Person ID
|
void |
setPersonName(String PersonName)
Set Person name
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setScore(Float Score)
Set Match score of candidate.
|
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 String getPersonId()
public void setPersonId(String PersonId)
PersonId
- Person IDpublic String getFaceId()
public void setFaceId(String FaceId)
FaceId
- Face IDpublic Float getScore()
public void setScore(Float Score)
Score
- Match score of candidate.
In a face base library containing 10,000 faces, the 1%, 0.1%, and 0.01% FARs correspond to scores of 70, 80, and 90 points, respectively;
In a face base library containing 100,000 faces, the 1%, 0.1%, and 0.01% FARs correspond to scores of 80, 90, and 100 points, respectively;
In a face base library containing 300,000 faces, the 1% and 0.1% FARs correspond to scores of 85 and 95, respectively.
Generally, the score of 80 is suitable for most scenarios. You are recommended to choose an appropriate score based on the actual situation, preferably no more than 90.public String getPersonName()
public void setPersonName(String PersonName)
PersonName
- Person name
Note: this field may return null, indicating that no valid values can be obtained.public Long getGender()
public void setGender(Long Gender)
Gender
- Person gender
Note: this field may return null, indicating that no valid values can be obtained.public PersonGroupInfo[] getPersonGroupInfos()
public void setPersonGroupInfos(PersonGroupInfo[] PersonGroupInfos)
PersonGroupInfos
- List of groups containing this person and their description fields
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.