Tüm Ürünler
Search
Belge Merkezi

:CreateFigureClusteringTask

Son Güncelleme:Oct 02, 2026

Bir figür kümeleme görevi oluşturur. Bu görev, bir veri kümesinde dizine eklenmiş görüntülerdeki farklı kişilerin yüzlerini gruplamak için akıllı bir algoritma kullanır.

Operation description

  • Bu işlemi çağırmadan önce, Intelligent Media Management'ın faturalandırma yöntemlerini ve fiyatlandırmasını tam olarak anladığınızdan emin olun.

    Önemli Eşzamansız görevlerin tamamlanma süresi garanti edilmez.

  • Bu işlemi çağırmadan önce, dosyaları bir veri kümesine (CreateDataset) bağlayarak (CreateBinding) veya dizine ekleyerek (IndexFileMeta veya BatchIndexFileMeta) dahil ettiğinizden emin olun.

  • Bu işlemi her çağırdığınızda, veri kümesindeki (CreateDataset) dosyalar artımlı olarak işlenir. Yeni dosyaları işlemek için bu işlemi düzenli aralıklarla çağırabilirsiniz.

  • Kümeleme tamamlandıktan sonra, belirli gruplar hakkındaki bilgileri almak için GetFigureCluster veya BatchGetFigureCluster işlemini çağırabilirsiniz. Ayrıca, veri kümesindeki grupları sorgulamak ve listelemek için QueryFigureClusters işlemini de çağırabilirsiniz.

  • Bir veri kümesinden dosya silmek, yüz kümeleme sonuçlarını değiştirir. Bir kümedeki yüzleri içeren tüm görüntüler silindiğinde, küme de silinir.

  • Bu, eşzamansız bir işlemdir. Bir görev başladıktan sonra, bilgileri yalnızca 7 gün boyunca saklanır. Bu süreden sonra görev bilgilerini alamazsınız. Görev bilgilerini görüntülemek için GetTask veya ListTasks işlemini çağırabilirsiniz. Alternatif olarak, eşzamansız bildirim mesajlarından görev bilgilerini almak için Notification parametresini ayarlayabilirsiniz.

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:CreateFigureClusteringTask

create

*Dataset

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

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectName

string

Yes

Proje adı. Daha fazla bilgi için Proje oluşturma konusuna bakın.

immtest

DatasetName

string

Yes

Veri kümesi adı. Daha fazla bilgi için Veri kümesi oluşturma konusuna bakın.

dataset001

UserData

string

No

Eşzamansız bildirim mesajında döndürülen özel kullanıcı verileri. Bu verileri, bildirim mesajını hizmetlerinizle ilişkilendirmek için kullanabilirsiniz. Maksimum uzunluk 2048 bayttır.

{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"}

Tags

object

No

Eşzamansız görevleri aramak ve filtrelemek için kullanabileceğiniz özel etiketler.

{"test": "val1"}

Notification Notification

No

Bildirim yapılandırması. Daha fazla bilgi için Bildirim konusuna bakın. Mesaj formatı hakkında daha fazla bilgi için Eşzamansız bildirim mesajı formatı konusuna bakın.

Response elements

Element

Type

Description

Example

object

Figür kümeleme görevi hakkındaki bilgiler.

RequestId

string

İsteğin kimliği.

1B3D5E0A-D8B8-4DA0-8127-ED32C851****

TaskId

string

Görevin kimliği.

formatconvert-00bec802-073a-4b61-ba3b-39bc****

EventId

string

Olayın kimliği.

0ED-1Bz8z71k5TtsUejT4UJ16****

Examples

Success response

JSON format

{
  "RequestId": "1B3D5E0A-D8B8-4DA0-8127-ED32C851****",
  "TaskId": "formatconvert-00bec802-073a-4b61-ba3b-39bc****",
  "EventId": "0ED-1Bz8z71k5TtsUejT4UJ16****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.