Feature Management
Face feature library management
Description of Class
FeatureManagerProxy
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 |
Description of Member Function
int delete(int userId)
Delete face feature
Parameter
Parameter Name | Type | Description | Note | Version Introduced |
userId | int | Face feature ID | None | 2.0.0 |
Return
Return 0 if delete operation is successful, otherwise return negative value
Exception
None
byte[] getFeature(Bitmap avatar)
Get face feature of the image
Parameter
Parameter Name | Type | Description | Note | Version Introduced |
avatar | Bitmap | Clear image of the face for a single person | None | 2.0.0 |
Return
Return face feature byte array
Exception
None
int insert(int userId, byte[] feature)
Insert feature library
Parameter
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 |
Return
Return 0 if the insert operation is successful, otherwise return negative value
Exception
None
最終更新