public class Face
extends java.lang.Object
When a face is detected, the camera believes that a face is present at a given location in the image, but is not sure whose face it is. When a face is recognised, then the face is both detected and identified as belonging to a known person.
Modifier and Type | Field and Description |
---|---|
private Age |
_age |
private int |
_height |
private java.lang.String |
_name |
private int |
_width |
private int |
_x |
private int |
_y |
Constructor and Description |
---|
Face(int x,
int y,
int width,
int height,
java.lang.String name,
Age age) |
private final int _x
private final int _y
private final int _width
private final int _height
private final java.lang.String _name
private final Age _age
public Face(int x, int y, int width, int height, java.lang.String name, Age age)
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public java.lang.String getName()
public Age getAge()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object