Package com.appliedrec.verid.core2
Class RecognizableFace
- java.lang.Object
-
- com.appliedrec.verid.core2.Face
-
- com.appliedrec.verid.core2.RecognizableFace
-
- All Implemented Interfaces:
android.os.Parcelable
,IRecognizable
public class RecognizableFace extends Face implements IRecognizable
Face that can be used for face recognition- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<RecognizableFace>
CREATOR
-
Constructor Summary
Constructors Modifier Constructor Description protected
RecognizableFace(android.os.Parcel in)
RecognizableFace(Face face, byte[] recognitionData)
RecognizableFace(Face face, byte[] recognitionData, VerIDFaceTemplateVersion faceTemplateVersion)
RecognizableFace(Face face, IRecognizable template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getRecognitionData()
RecognizableType
getType()
int
getVersion()
void
writeToParcel(android.os.Parcel dest, int flags)
Flatten this object in to a Parcel.-
Methods inherited from class com.appliedrec.verid.core2.Face
describeContents, equals, flipped, getAngle, getBounds, getData, getDlibLandmarks, getLandmarks, getLeftEye, getQuality, getRightEye, hashCode, setLandmarks
-
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<RecognizableFace> CREATOR
-
-
Constructor Detail
-
RecognizableFace
public RecognizableFace(Face face, byte[] recognitionData)
-
RecognizableFace
public RecognizableFace(Face face, byte[] recognitionData, VerIDFaceTemplateVersion faceTemplateVersion)
-
RecognizableFace
public RecognizableFace(Face face, IRecognizable template)
-
RecognizableFace
protected RecognizableFace(android.os.Parcel in)
-
-
Method Detail
-
getRecognitionData
public byte[] getRecognitionData()
- Specified by:
getRecognitionData
in interfaceIRecognizable
- Returns:
- Face recognition data
- Since:
- 1.0.0
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfaceIRecognizable
- Returns:
- Version used to determine compatibility
- Since:
- 1.0.0
-
getType
@NonNull public RecognizableType getType()
- Specified by:
getType
in interfaceIRecognizable
- Overrides:
getType
in classFace
- Returns:
RecognizableType.FACE
- Since:
- 1.0.0
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
Description copied from interface:android.os.Parcelable
Flatten this object in to a Parcel.- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
- Overrides:
writeToParcel
in classFace
- Parameters:
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written. May be 0 orParcelable.PARCELABLE_WRITE_RETURN_VALUE
.
-
-