|
JMRTD 0.4.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmrtd.lds.DisplayedImageInfo
org.jmrtd.lds.FaceInfo
public class FaceInfo
Data structure for storing face information as found in DG2. Coding is based on ISO/IEC FCD 19794-5 (2004-03-22).
| Nested Class Summary | |
|---|---|
static class |
FaceInfo.Expression
Expression code based on Section 5.5.7 of ISO 19794-5. |
static class |
FaceInfo.EyeColor
Eye color code based on Section 5.5.4 of ISO 19794-5. |
static class |
FaceInfo.FaceImageType
Face image type code based on Section 5.7.1 of ISO 19794-5. |
static class |
FaceInfo.FeaturePoint
Feature points as described in Section 5.6.3 of ISO/IEC FCD 19794-5. |
static class |
FaceInfo.Features
Feature flags meaning based on Section 5.5.6 of ISO 19794-5. |
static class |
FaceInfo.HairColor
Hair color code based on Section 5.5.5 of ISO 19794-5. |
static class |
FaceInfo.ImageColorSpace
Color space code based on Section 5.7.4 of ISO 19794-5. |
static class |
FaceInfo.ImageData
Image data type code based on Section 5.7.2 of ISO 19794-5. |
static class |
FaceInfo.SourceType
Source type based on Section 5.7.6 of ISO 19794-5. |
| Fields inherited from class org.jmrtd.lds.DisplayedImageInfo |
|---|
type, TYPE_FINGER, TYPE_IRIS, TYPE_PORTRAIT, TYPE_SIGNATURE_OR_MARK |
| Constructor Summary | |
|---|---|
FaceInfo(Gender gender,
FaceInfo.EyeColor eyeColor,
int hairColor,
short expression,
int sourceType,
BufferedImage image)
Constructs a new face information data structure instance. |
|
| Method Summary | |
|---|---|
void |
addImageReadUpdateListener(ImageReadUpdateListener l)
Adds a listener which will be notified when new image data is available. |
int |
getDeviceType()
Gets the device type. |
byte[] |
getEncoded()
|
short |
getExpression()
Gets the expression (neutral, smiling, eyebrow raised, etc). |
FaceInfo.EyeColor |
getEyeColor()
Gets the eye color (black, blue, brown, etc). |
int |
getFaceImageType()
Gets the face image type (full frontal, token frontal, etc). |
FaceInfo.FeaturePoint[] |
getFeaturePoints()
Gets the available feature points of this face. |
Gender |
getGender()
Gets the gender (male, female, etc). |
int |
getHairColor()
Gets the hair color (bald, black, blonde, etc). |
int |
getHeight()
Gets the height of this face. |
BufferedImage |
getImage()
|
BufferedImage |
getImage(boolean isProgressiveMode)
Gets the image. |
int |
getImageColorSpace()
Gets the image color space (rgb, grayscale, etc). |
int[] |
getPoseAngle()
Gets the pose angle as an integer array of length 3, containing yaw, pitch, and roll angle in degrees. |
int[] |
getPoseAngleUncertainty()
Gets the pose angle uncertainty as an integer array of length 3, containing yaw, pitch, and roll angle uncertainty in degrees. |
int |
getQuality()
Gets the quality as unsigned integer. |
int |
getSourceType()
Gets the source type (camera, scanner, etc). |
int |
getWidth()
Gets the width of this face. |
void |
removeImageReadUpdateListener(ImageReadUpdateListener l)
Removes a listener. |
String |
toString()
Generates a textual representation of this object. |
| Methods inherited from class org.jmrtd.lds.DisplayedImageInfo |
|---|
getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int EYE_COLOR_UNSPECIFIED
public static final int EYE_COLOR_BLACK
public static final int EYE_COLOR_BLUE
public static final int EYE_COLOR_BROWN
public static final int EYE_COLOR_GRAY
public static final int EYE_COLOR_GREEN
public static final int EYE_COLOR_MULTI_COLORED
public static final int EYE_COLOR_PINK
public static final int EYE_COLOR_UNKNOWN
public static final int HAIR_COLOR_UNSPECIFIED
public static final int HAIR_COLOR_BALD
public static final int HAIR_COLOR_BLACK
public static final int HAIR_COLOR_BLONDE
public static final int HAIR_COLOR_BROWN
public static final int HAIR_COLOR_GRAY
public static final int HAIR_COLOR_WHITE
public static final int HAIR_COLOR_RED
public static final int HAIR_COLOR_GREEN
public static final int HAIR_COLOR_BLUE
public static final int HAIR_COLOR_UNKNOWN
public static final short EXPRESSION_UNSPECIFIED
public static final short EXPRESSION_NEUTRAL
public static final short EXPRESSION_SMILE_CLOSED
public static final short EXPRESSION_SMILE_OPEN
public static final short EXPRESSION_RAISED_EYEBROWS
public static final short EXPRESSION_EYES_LOOKING_AWAY
public static final short EXPRESSION_SQUINTING
public static final short EXPRESSION_FROWNING
public static final int FACE_IMAGE_TYPE_UNSPECIFIED
public static final int FACE_IMAGE_TYPE_BASIC
public static final int FACE_IMAGE_TYPE_FULL_FRONTAL
public static final int FACE_IMAGE_TYPE_TOKEN_FRONTAL
public static final int FACE_IMAGE_TYPE_OTHER
public static final int IMAGE_COLOR_SPACE_UNSPECIFIED
public static final int IMAGE_COLOR_SPACE_RGB24
public static final int IMAGE_COLOR_SPACE_YUV422
public static final int IMAGE_COLOR_SPACE_GRAY8
public static final int IMAGE_COLOR_SPACE_OTHER
public static final int SOURCE_TYPE_UNSPECIFIED
public static final int SOURCE_TYPE_STATIC_PHOTO_UNKNOWN_SOURCE
public static final int SOURCE_TYPE_STATIC_PHOTO_DIGITAL_CAM
public static final int SOURCE_TYPE_STATIC_PHOTO_SCANNER
public static final int SOURCE_TYPE_VIDEO_FRAME_UNKNOWN_SOURCE
public static final int SOURCE_TYPE_VIDEO_FRAME_ANALOG_CAM
public static final int SOURCE_TYPE_VIDEO_FRAME_DIGITAL_CAM
public static final int SOURCE_TYPE_UNKNOWN
| Constructor Detail |
|---|
public FaceInfo(Gender gender,
FaceInfo.EyeColor eyeColor,
int hairColor,
short expression,
int sourceType,
BufferedImage image)
gender - gendereyeColor - eye colorhairColor - hair colorexpression - expressionsourceType - source typeimage - image| Method Detail |
|---|
public byte[] getEncoded()
public BufferedImage getImage(boolean isProgressiveMode)
getImage in class DisplayedImageInfopublic BufferedImage getImage()
getImage in class DisplayedImageInfopublic FaceInfo.FeaturePoint[] getFeaturePoints()
public String toString()
toString in class ObjectObject.toString()public int getWidth()
public int getHeight()
public short getExpression()
public FaceInfo.EyeColor getEyeColor()
public Gender getGender()
public int getHairColor()
public int getFaceImageType()
public int getQuality()
public int getSourceType()
public int getImageColorSpace()
public int getDeviceType()
public int[] getPoseAngle()
public int[] getPoseAngleUncertainty()
public void addImageReadUpdateListener(ImageReadUpdateListener l)
l - the listenerpublic void removeImageReadUpdateListener(ImageReadUpdateListener l)
l - the listener
|
JMRTD 0.4.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||