- Added support for the Large Face List and Large Person Group:
- Added operation groups
LargeFaceListOperations
andLargePersonGroupOperations
toFaceAdministrationClient
. - Added operations
find_similar_from_large_face_list
,identify_from_large_person_group
andverify_from_large_person_group
toFaceClient
. - Added models for supporting Large Face List and Large Person Group.
- Added operation groups
- Added support for latest Detect Liveness Session API:
- Added operations
get_session_image
anddetect_from_session_image
toFaceSessionClient
. - Added properties
enable_session_image
andliveness_single_modal_model
to modelCreateLivenessSessionContent
. - Added model
CreateLivenessWithVerifySessionContent
.
- Added operations
- Changed the parameter of
create_liveness_with_verify_session
from modelCreateLivenessSessionContent
toCreateLivenessWithVerifySessionContent
. - Changed the enum value of
FaceDetectionModel
,FaceRecognitionModel
,LivenessModel
andVersions
.
- Change the default service API version to
v1.2-preview.1
.
This is the first preview of the azure-ai-vision-face
client library that follows the Azure Python SDK Design Guidelines.
This library replaces the package azure-cognitiveservices-vision-face.
This package's documentation and samples demonstrate the new API.
- Added support for Liveness detection.
- Asynchronous APIs are added under
azure.ai.vision.face.aio
namespace. - Authentication with Microsoft Entra ID is supported using
DefaultAzureCredential()
fromazure.identity
.
- This library only supports the API of the the operation groups below of Azure AI Face v1.1-preview.1:
- Face Detection Operations
- Face Recognition Operations: only
Find Similiar
,Group
andVerify Face To Face
. - Liveness Session Operations
- The namespace/package name for Azure AI Face has changed from
azure.cognitiveservices.vision.face
toazure.ai.vision.face
. - Two client design:
FaceClient
to perform core Face functions such as face detection, verification, finding similar faces and grouping faces.FaceSessionClient
to interact with sessions which is used for Liveness detection.
- New function names that comply with Azure Python SDK Design Guidelines:
- For example, the method
person_group_person.create()
is changed tocreate_person_group_person()
.
- For example, the method
- The Snapshot operations are all removed as the Snapshot API is no longer supported.