Queries the list of similar image clusters.
Operation description
-
Make sure that you are familiar with the billing of Intelligent Media Management (IMM).
-
Call the CreateSimilarImageClusteringTask operation to cluster similar images in the dataset before you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:QuerySimilarImageClusters |
list |
*Dataset
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. For more information, see CreateProject. |
test-project |
| DatasetName |
string |
Yes |
The name of the dataset. For more information, see Create a dataset. |
test-dataset |
| NextToken |
string |
No |
The pagination token. Specify this parameter if the total number of clusters exceeds the MaxResults value. The next call returns results lexicographically after this token value. Note
The first time you call this operation in a query, set this parameter to null. |
CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ**** |
| MaxResults |
integer |
No |
The number of entries per page. Value range: 0 to 100. Default value: 100. |
20 |
| CustomLabels |
string |
No |
The custom tags for filtering tasks. |
{"key": "val"} |
| Sort |
string |
No |
The sorting field.
|
UpdateTime |
| Order |
string |
No |
The sorting order. Valid values:
|
asc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
CA995EFD-083D-4F40-BE8A-BDF75FFF**** |
| SimilarImageClusters |
array |
The list of similar image clusters. |
|
| SimilarImageCluster |
Details of a similar image cluster. |
||
| NextToken |
string |
The pagination token. This parameter is returned only when not all clusters are returned. Use this token as the NextToken value in the next request to retrieve the remaining clusters. |
CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ**** |
Examples
Success response
JSON format
{
"RequestId": "CA995EFD-083D-4F40-BE8A-BDF75FFF****\n",
"SimilarImageClusters": [
{
"ObjectId": "SimilarImageCluster-748a041e-4ebc-4487-9e74-9c89b1****",
"UpdateTime": "2023-02-08T09:42:34.354969088+08:00",
"CreateTime": "2023-02-08T09:42:34.354969088+08:00",
"CustomLabels": {
"test": "test",
"test2": 1
},
"Files": [
{
"URI": "oss://test-bucket/test-object",
"ImageScore": 0.709
}
]
}
],
"NextToken": "CAESEgoQCg4KClVwZGF0ZVRpbWUQARgBIs8ECgkAAJLUwUCAQ****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.