public class FaceInfo extends AbstractListInfo<FaceImageInfo> implements BiometricDataBlock
Constructor and Description |
---|
FaceInfo(InputStream inputStream)
Constructs a face info from binary encoding.
|
FaceInfo(List<FaceImageInfo> faceImageInfos)
Constructs a face info from a list of face image infos.
|
FaceInfo(StandardBiometricHeader sbh,
InputStream inputStream)
Constructs a face info from binary encoding.
|
FaceInfo(StandardBiometricHeader sbh,
List<FaceImageInfo> faceImageInfos)
Constructs a face info from a list of face image infos.
|
Modifier and Type | Method and Description |
---|---|
void |
addFaceImageInfo(FaceImageInfo faceImageInfo)
Adds a face image info to this face info.
|
List<FaceImageInfo> |
getFaceImageInfos()
Gets the face image infos embedded in this face info.
|
StandardBiometricHeader |
getStandardBiometricHeader()
Gets the standard biometric header of this biometric data block
|
void |
readObject(InputStream inputStream)
Reads the facial record from an input stream.
|
void |
removeFaceImageInfo(int index)
Removes a face image info from this face info.
|
void |
writeObject(OutputStream outputStream)
Writes the facial record to an output stream.
|
add, addAll, equals, getSubRecords, hashCode, remove
getEncoded
public FaceInfo(List<FaceImageInfo> faceImageInfos)
faceImageInfos
- face image infospublic FaceInfo(StandardBiometricHeader sbh, List<FaceImageInfo> faceImageInfos)
sbh
- the standard biometric header to usefaceImageInfos
- face image infospublic FaceInfo(InputStream inputStream) throws IOException
inputStream
- an input streamIOException
- when decoding failspublic FaceInfo(StandardBiometricHeader sbh, InputStream inputStream) throws IOException
sbh
- the standard biometric header to useinputStream
- an input streamIOException
- when decoding failspublic void readObject(InputStream inputStream) throws IOException
readObject
in class AbstractListInfo<FaceImageInfo>
inputStream
- the input streamIOException
public void writeObject(OutputStream outputStream) throws IOException
writeObject
in class AbstractListInfo<FaceImageInfo>
outputStream
- an output streamIOException
public StandardBiometricHeader getStandardBiometricHeader()
getStandardBiometricHeader
in interface BiometricDataBlock
public List<FaceImageInfo> getFaceImageInfos()
public void addFaceImageInfo(FaceImageInfo faceImageInfo)
faceImageInfo
- the face image info to addpublic void removeFaceImageInfo(int index)
index
- the index of the face image info to removeCopyright © 2016. All rights reserved.