How to use the azure-cognitiveservices-vision-face.azure.cognitiveservices.vision.face.models.name_and_user_data_contract.NameAndUserDataContract function in azure-cognitiveservices-vision-face

To help you get started, we’ve selected a few azure-cognitiveservices-vision-face examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-sdk-for-python / azure-cognitiveservices-vision-face / azure / cognitiveservices / vision / face / models / person.py View on Github external
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from .name_and_user_data_contract import NameAndUserDataContract


class Person(NameAndUserDataContract):
    """Person object.

    All required parameters must be populated in order to send to Azure.

    :param name: User defined name, maximum length is 128.
    :type name: str
    :param user_data: User specified data. Length should not exceed 16KB.
    :type user_data: str
    :param person_id: Required. PersonId of the target face list.
    :type person_id: str
    :param persisted_face_ids: PersistedFaceIds of registered faces in the
     person. These persistedFaceIds are returned from Person - Add a Person
     Face, and will not expire.
    :type persisted_face_ids: list[str]
    """
github Azure / azure-sdk-for-python / azure-cognitiveservices-vision-face / azure / cognitiveservices / vision / face / models / name_and_user_data_contract.py View on Github external
def __init__(self, **kwargs):
        super(NameAndUserDataContract, self).__init__(**kwargs)
        self.name = kwargs.get('name', None)
        self.user_data = kwargs.get('user_data', None)

azure-cognitiveservices-vision-face

Microsoft Azure Cognitive Services Face Client Library for Python

MIT
Latest version published 22 days ago

Package Health Score

84 / 100
Full package analysis

Popular azure-cognitiveservices-vision-face functions

Similar packages