Package gov.nih.mipav.model.file
Class MetadataExtractor.Face
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Face
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.Face extends java.lang.ObjectClass 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
Constructors Constructor Description Face(int x, int y, int width, int height, java.lang.String name, MetadataExtractor.Age age)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)MetadataExtractor.AgegetAge()intgetHeight()java.lang.StringgetName()intgetWidth()intgetX()intgetY()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
_x
private final int _x
-
_y
private final int _y
-
_width
private final int _width
-
_height
private final int _height
-
_name
private final java.lang.String _name
-
_age
private final MetadataExtractor.Age _age
-
-
Constructor Detail
-
Face
public Face(int x, int y, int width, int height, java.lang.String name, MetadataExtractor.Age age)
-
-
Method Detail
-
getX
public int getX()
-
getY
public int getY()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getName
public java.lang.String getName()
-
getAge
public MetadataExtractor.Age getAge()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-