com.drew.metadata
Class Face

java.lang.Object
  extended by com.drew.metadata.Face

public class Face
extends Object

Class to hold information about a detected or recognized face in a photo.

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.

Author:
Philipp Sandhaus, Drew Noakes

Constructor Summary
Face(int x, int y, int width, int height, String name, Age age)
           
 
Method Summary
 boolean equals(Object o)
           
 Age getAge()
           
 int getHeight()
           
 String getName()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Face

public Face(int x,
            int y,
            int width,
            int height,
            String name,
            Age age)
Method Detail

getX

public int getX()

getY

public int getY()

getWidth

public int getWidth()

getHeight

public int getHeight()

getName

public String getName()

getAge

public Age getAge()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.