tencent cloud

Feedback

CreatePersonSample

Last updated: 2024-03-27 16:10:13

    1. API Description

    Domain name for API request: vod.tencentcloudapi.com.

    This API is used to create samples for using facial features positioning and other technologies to perform video processing operations such as content recognition and inappropriate information recognition.

    A maximum of 100 requests can be initiated per second for this API.

    We recommend you to use API Explorer
    Try it
    API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

    2. Input Parameters

    The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

    Parameter Name Required Type Description
    Action Yes String Common Params. The value used for this API: CreatePersonSample.
    Version Yes String Common Params. The value used for this API: 2018-07-17.
    Region No String Common Params. This parameter is not required.
    Name Yes String Name of a sample. Length limit: 20 characters.
    Usages.N Yes Array of String Usage of a sample. Valid values:
    1. Recognition: used for content recognition; equivalent to Recognition.Face
    2. Review: used for inappropriate information recognition; equivalent to Review.Face
    3. All: equivalent to 1+2.
    SubAppId No Integer The VOD application ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.
    Description No String Description of a sample. Length limit: 1024 characters.
    FaceContents.N No Array of String String generated after the sample image is encoded by Base64. Only JPEG and PNG images are supported. Array length limit: 5 images.
    Note: the image must be a relatively clear full-face photo of a person and has a resolution of no less than 200 x 200.
    Tags.N No Array of String Tags of a sample
  • Array length limit: 20 tags
  • Length limit of a tag: 128 characters
  • 3. Output Parameters

    Parameter Name Type Description
    Person AiSamplePerson Information of a sample.
    FailFaceInfoSet Array of AiSampleFailFaceInfo Information of samples that failed the verification by facial feature positioning.
    RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Creating an image sample

    Input Example

    https://vod.tencentcloudapi.com/?Action=CreatePersonSample
    &Name=John Smith
    &Tags.0=US
    &Tags.1=Celebrity
    &Description=American actor, director, and producer
    &Usages.0=Recognition.Face
    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CaJ4rmDz7eTCvGFJ3DIOMAg/lXB/EXw/BpelyTRfZbczSKVssJ54VV+/95nA55zxxVKOlwPOri6kg1aOFZBshRIQAeOmT+pJz6812Wo28er6A7Oo+2RKHifGTuH9D3/CuHvU+3eJJUtGD+bcERkZwRnj8K9C0GWUP/ZzyQPKIQSTI4+U5yDkcD5efw57Vk9xnpEmqlPCB16JJ5MWS3PqysFGMt/CyE8E8MpA64rxP4Y3Lr45tLqUgtKzg4wMlge1eqanaS23ws1aK78ueO0szBDKqLnb5iscbmDYGcDCkjnnFeReFrqOx8QaY5DFFmUseR1OP61tUd2hJHsmr38mnahCJHDRS8KcYIPofxrbiYT7X39sDJxjp+dc38Q4iLKKeFcKH3jpxzV7SrkzaQjKx34z14PFQwKGuW6SStJNuIhBZQfuj39+KNCs00+yuA4wEJkOQc4/yan1SI6hplyI2CysAFGemKbHgQSJdSLGv+r3K20Egdy3AAO0E/7We1DGUrNYw39oaiGaSUkpEoOST0GPXIebHyoDtReOmT0Hqep9AOtOdJ7e5F1bSvcSSriOWYglUKq3AHAJ3LnvzjtWzptvDCC8gkklcZMhHQ9OPSi4Gxp91OYN0sY4AXCDag4IwCcE/gKxvGLSyRWzPEFVGKk7gTz3+lXTewySEo0jNjBW3+b8z0H51T1e0vb2FF8tRggndICTjoeKrcRyxprDipDkFgQQwOCD2NMI5qAIyKYwqQ0w0ARGmmpDTDQBH3H1op38Q+tFIZ//9k=
    &<Common request parameters>
    

    Output Example

    {
        "Response": {
            "Person": {
                "PersonId": "10703",
                "Name": "John Smith",
                "Description": "American actor, director, and producer",
                "FaceInfoSet": [
                    {
                        "FaceId": "10109",
                        "Url": "http://1251659802.vod2.myqcloud.com/vodcq1251659802/ai_samples/251006362/faces/15517827183907093125.jpeg"
                    }
                ],
                "TagSet": [
                    "US",
                    "Celebrity"
                ],
                "UsageSet": [
                    "Recognition.Face",
                    "Review.Face"
                ],
                "CreateTime": "2019-01-16T11:34:46Z",
                "UpdateTime": "2019-01-16T11:34:46Z"
            },
            "FailFaceInfoSet": [
                {
                    "Index": 1,
                    "ErrCode": 18004,
                    "Message": "face picture format error"
                }
            ],
            "RequestId": "2e63f898-cafd-4840-a17d-b8db9f02a9d6"
        }
    }
    

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    InternalError Internal error.
    InvalidParameterValue Incorrect parameter value.
    InvalidParameterValue.FaceDuplicate Incorrect parameter value: the same face already exists.
    InvalidParameterValue.PicFormatError Incorrect parameter value: the face image format is incorrect.
    UnauthorizedOperation Unauthorized operation.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support