public class Face
extends java.lang.Object
VisualRecognition.detectFaces(VisualRecognitionOptions) .VisualRecognition| Modifier and Type | Class and Description |
|---|---|
class |
Face.Age
The age of a detected face.
|
class |
Face.Gender
The gender of a detected face.
|
class |
Face.Identity
The identity of a detected face.
|
| Constructor and Description |
|---|
Face() |
| Modifier and Type | Method and Description |
|---|---|
Face.Age |
getAge()
Gets the age.
|
Face.Gender |
getGender()
Gets the gender.
|
Face.Identity |
getIdentity()
Gets the identity.
|
Location |
getLocation()
Gets the location.
|
void |
setAge(Face.Age age)
Sets the age.
|
void |
setGender(Face.Gender gender)
Sets the gender.
|
void |
setIdentity(Face.Identity identity)
Sets the identity.
|
void |
setLocation(Location location)
Sets the location.
|
public Face.Age getAge()
public Face.Gender getGender()
public Face.Identity getIdentity()
public Location getLocation()
public void setAge(Face.Age age)
age - The agepublic void setGender(Face.Gender gender)
gender - The genderpublic void setIdentity(Face.Identity identity)
identity - The identitypublic void setLocation(Location location)
location - the new location