|
void | finalize () throws Throwable |
|
The class allows serialize and deserialize Face, AlignmentInfo and Fir objects.
◆ deserializeAlignmentInfo()
◆ deserializeFace()
Deserialize a Face object from binary data.
- Parameters
-
- Returns
- deseriazlied Face. The image of the object can be cropped if the object was serialized with serializeFullFrame=false.
- Exceptions
-
FaceSDKException | in case of corrupted input data. |
IllegalArgumentException | if data is null or empty. |
◆ deserializeFir()
Deserialize a Fir object from binary data.
- Parameters
-
- Returns
- deseriazlied Fir.
- Exceptions
-
FaceSDKException | in case of corrupted input data. |
IllegalArgumentException | if data is null or empty. |
◆ serializeAlignmentInfo()
byte [] com.tech5.FaceSDK.Serializer.serializeAlignmentInfo |
( |
AlignmentInfo |
info | ) |
|
|
inline |
Serialize the AlignmentInfo object into binary data.
- Parameters
-
info | The object to serialize |
- Returns
- serialized into byte[] object
- Exceptions
-
IllegalArgumentException | if info is null. |
◆ serializeFace() [1/2]
byte [] com.tech5.FaceSDK.Serializer.serializeFace |
( |
Face |
face | ) |
|
|
inline |
Serialize the Face object into binary data.
- Parameters
-
face | the object to serialize |
- Returns
- serialized into byte[] object
- Exceptions
-
IllegalArgumentException | if face is null |
◆ serializeFace() [2/2]
byte [] com.tech5.FaceSDK.Serializer.serializeFace |
( |
Face |
face, |
|
|
boolean |
serializeFullFrame |
|
) |
| |
|
inline |
Serialize the Face object into binary data.
- Parameters
-
face | the object to serialize |
serializeFullFrame | store a full face`s image (serializeFullFrame=true) or cropped to face rect image (serializeFullFrame=false). |
- Returns
- serialized into byte[] object
- Exceptions
-
IllegalArgumentException | if face is null |
◆ serializeFir()
byte [] com.tech5.FaceSDK.Serializer.serializeFir |
( |
Fir |
fir | ) |
|
|
inline |
Serialize the Fir object into binary data.
- Parameters
-
fir | the object to serialize |
- Returns
- serialized into byte[] object
- Exceptions
-
IllegalArgumentException | if fir is null. |
The documentation for this class was generated from the following file:
- E:/git/face_sdk/java/lib/src/main/java/com/tech5/FaceSDK/Serializer.java