Face feature library management
Delete face feature
Parameter
Return
Return 0 if delete operation is successful, otherwise return -1 if invalid parameters -260 if face feature library is empty -261 if can't find
Exception
None
Get face feature of the image
Parameter
Return
Return face feature byte array
Exception
None
Insert feature library
Parameter
Return
Return 0 if the insert operation is successful, otherwise return -1 if invalid parameters -259 if face feature fails to add into libary -262 if can't get UUID
Exception
None
Member Function
Description
Version Introduced
int delete(int userId)
Delete face feature of user id
2.0.0
byte[] getFeature( Bitmap avatar)
Get face feature of the image
2.0.0
int insert(int userId, byte[] feature)
Insert feature library
2.0.0
Parameter Name
Type
Description
Note
Version Introduced
userId
int
Face feature ID
None
2.0.0
Parameter Name
Type
Description
Note
Version Introduced
avatar
Bitmap
Clear image of the face for a single person
None
2.0.0
Parameter Name
Type
Description
Note
Version Introduced
userId
int
Face feature ID
None
2.0.0
feature
byte[]
Face feature byte array
None
2.0.0