1.0.0b1 (2024-05-28)
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.
Features Added
- 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
.
Breaking Changes
- 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.