Face API

This API allows to scan/verify the face template.

BS2Face

typedef struct {
	uint8_t faceIndex;		
	uint8_t numOfTemplate;		
	uint8_t flag;		        
	uint8_t reserved;		
 
	uint16_t imageLen;		
	uint8_t reserved2[2];		
 
	uint8_t imageData[BS2_FACE_IMAGE_SIZE];
	uint8_t templateData[BS2_TEMPLATE_PER_FACE][BS2_FACE_TEMPLATE_LENGTH];
} BS2Face;

1. faceIndex
Index of face

2. numOfTemplate
Number of face templates.

3. flag
Not used.

4. reserved
Reserved space.

5. imageLen
Size of the face image.

6. reserved2
Reserve space.

4. imageData
Face image data.

5. data
Face template data.

BS2AuthGroup

typedef struct {
	BS2_AUTH_GROUP_ID		id;
	char				name[BS2_MAX_AUTH_GROUP_NAME_LEN];
	uint8_t				reserved[32];
} BS2AuthGroup;

1. id
Group ID for group matching.

2. name
Name of the matching group that will be displayed on BioStar 2

3. reserved
Reserved space.