public class Face extends Object
VisualRecognition.detectFaces(VisualRecognitionOptions) .VisualRecognition| Modifier and Type | Class and Description | 
|---|---|
| class  | Face.AgeThe age of a detected face. | 
| class  | Face.GenderThe gender of a detected face. | 
| class  | Face.IdentityThe 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 Location getLocation()
public Face.Gender getGender()
public Face.Identity getIdentity()
public void setAge(Face.Age age)
age - The agepublic void setLocation(Location location)
location - the new locationpublic void setGender(Face.Gender gender)
gender - The genderpublic void setIdentity(Face.Identity identity)
identity - The identityCopyright © 2015–2016 IBM Watson. All rights reserved.