Affected Version: BioStar 2 v2.9.1 or Above
From BioStar 2 v2.9.1, the visual face enrollment using a photo has been changed.
The developer integrating BioStar 2 API needs to refer to the description below.
1. Upload the Picture
PUT api/users/check/upload_picture
{
"template_ex_picture": "Base 64 Image Encoding"
}
When adding a user, the image and image_template that comes as a response must be passed as arguments.
2. Please pass the image, image_template coming from the response when they add a user of BioStar 2.
image => template_ex_normalized_image
image_template => template_ex
2.1. Add new User
2.2. Update a User