Package com.libremobileos.yifan.face
Class FaceDataEncoder
- java.lang.Object
-
- com.libremobileos.yifan.face.FaceDataEncoder
-
public class FaceDataEncoder extends Object
-
-
Constructor Summary
Constructors Constructor Description FaceDataEncoder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static float[][]
decode(String data)
Decode face model encoded byencode(float[][])
static String
encode(float[][] alldata)
Encode face model to string.
-
-
-
Method Detail
-
encode
public static String encode(float[][] alldata)
Encode face model to string.- Parameters:
alldata
- Face model.- Returns:
- Encoded face model.
-
decode
public static float[][] decode(String data)
Decode face model encoded byencode(float[][])
- Parameters:
data
- Encoded face model.- Returns:
- Face model.
-
-