Tüm Ürünler
Search
Belge Merkezi

:CreateFacesSearchingTask

Son Güncelleme:Oct 02, 2026

Bir medya kümesinde, belirtilen bir görüntüye veya yüz kimliğine en çok benzeyen ilk N görüntü için arama yapar. Bu işlem, ilgili yüz kimliklerini ve sınırlayıcı kutuları benzerliğe göre azalan sırada döndürür.

Operation description

  • Bu işlemi kullanmadan önce faturalandırma yöntemlerini ve fiyatlandırmayı inceleyin

    Önemli

    Asenkron görevlerin çalıştırma süresi garanti edilmez.

  • Her giriş görüntüsü için, yüz aramasında yalnızca en büyük sınırlayıcı kutuya sahip yüz kullanılır.

  • Bu asenkron bir işlemdir. Bir görev başlatıldıktan sonra, görev bilgileri 7 gün boyunca saklanır ve bu süreden sonra alınamaz. Görev bilgilerini almak için, döndürülen TaskId ile GetTask veya ListTasks işlemini çağırabilirsiniz. Alternatif olarak, görev bilgilerini içeren asenkron bildirimleri almak için Notification parametresini yapılandırabilirsiniz.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

imm:CreateFacesSearchingTask

list

*Dataset

acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectName

string

Yes

Projenin adı. Daha fazla bilgi için bkz. Proje oluşturma.

test-project

DatasetName

string

Yes

Veri kümesinin adı. Daha fazla bilgi için bkz. Veri kümesi oluşturma.

test-dataset

UserData

string

No

Özel kullanıcı bilgileri. Bu bilgiler, mesajı sisteminizle ilişkilendirmenize yardımcı olmak için asenkron bildirim mesajında döndürülür. Maksimum uzunluk 2048 bayttır.

{"ID": "testuid","Name": "test-user","Avatar": "http://test.com/testuid"}

Sources

array<object>

No

Görüntü listesi.

object

No

Bir görüntü nesnesi.

URI

string

No

Görüntünün OSS URI'si.

OSS URI'si oss://${Bucket}/${Object} biçimini izlemelidir. ${Bucket}, mevcut projeyle aynı bölgedeki OSS bucket'ının adıdır. ${Object}, dosya adı uzantısı da dahil olmak üzere dosyanın tam yoludur.

oss://test-bucket/test-object

MaxResult

integer

No

Döndürülecek en benzer yüzlerin sayısı. Geçerli değerler: 0 ile 100 arası. Varsayılan değer: 5.

100

Notification Notification

No

Bildirim yapılandırması. Asenkron bildirim mesajlarının biçimi hakkında daha fazla bilgi için bkz. Asenkron bildirim mesajı biçimi.

Response elements

Element

Type

Description

Example

object

Yanıt nesnesi.

RequestId

string

İstek kimliği.

B1E79399-05F7-06D8-95FE-EBE17BA*****

TaskId

string

Görev kimliği.

CreateFacesSearchingTask-00bec802-073a-4b61-ba*****

EventId

string

Olay kimliği.

0ED-1Bz8z71k5TtsUejT4UJ16****

Examples

Success response

JSON format

{
  "RequestId": "B1E79399-05F7-06D8-95FE-EBE17BA*****",
  "TaskId": "CreateFacesSearchingTask-00bec802-073a-4b61-ba*****",
  "EventId": "0ED-1Bz8z71k5TtsUejT4UJ16****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.