public class ImageFace extends GenericModel
AlchemyVision.recognizeFaces(java.io.File, Boolean).| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ImageFace.AgeRange
Face Age range. 
 | 
static class  | 
ImageFace.Gender
Face gender. 
 | 
| Constructor and Description | 
|---|
ImageFace()  | 
| Modifier and Type | Method and Description | 
|---|---|
ImageFace.AgeRange | 
getAge()
Gets the age. 
 | 
ImageFace.Gender | 
getGender()
Gets the gender. 
 | 
Integer | 
getHeight()
Gets the height. 
 | 
Identity | 
getIdentity()
Gets the identity. 
 | 
Integer | 
getPositionX()
Gets the position x. 
 | 
Integer | 
getPositionY()
Gets the position y. 
 | 
Integer | 
getWidth()
Gets the width. 
 | 
void | 
setAge(ImageFace.AgeRange age)
Sets the age. 
 | 
void | 
setGender(ImageFace.Gender gender)
Sets the gender. 
 | 
void | 
setHeight(Integer height)
Sets the height. 
 | 
void | 
setIdentity(Identity identity)
Sets the identity. 
 | 
void | 
setPositionX(Integer positionX)
Sets the position x. 
 | 
void | 
setPositionY(Integer positionY)
Sets the position y. 
 | 
void | 
setWidth(Integer width)
Sets the width. 
 | 
equals, hashCode, toStringpublic ImageFace.AgeRange getAge()
public ImageFace.Gender getGender()
public Integer getHeight()
public Identity getIdentity()
public Integer getPositionX()
public Integer getPositionY()
public Integer getWidth()
public void setAge(ImageFace.AgeRange age)
age - The agepublic void setGender(ImageFace.Gender gender)
gender - The genderpublic void setHeight(Integer height)
height - The heightpublic void setIdentity(Identity identity)
identity - The identitypublic void setPositionX(Integer positionX)
positionX - The positionXpublic void setPositionY(Integer positionY)
positionY - The positionYpublic void setWidth(Integer width)
width - The widthCopyright © 2015–2016 IBM Watson. All rights reserved.