Retrieves the result of a blind watermark extraction task for an image.
Operation description
Before you call this operation, make sure that you have created a project in Intelligent Media Management (IMM). For more information, see Create a project.
Before you call this operation, make sure that you have created a blind watermark extraction task for an image and obtained the
TaskIdof the task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:GetDecodeBlindWatermarkResult |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name. For information about how to obtain the project name, see Create a project. |
immtest |
| TaskType |
string |
Yes |
The task type. Valid values:
|
DecodeBlindWatermark |
| TaskId |
string |
Yes |
The task ID. You can obtain the task ID from the response parameters of the blind watermark extraction task creation operation. |
DecodeBlindWatermark-c09b0943-ed79-4983-8dbe-7a882574**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The watermark extraction result. |
||
| RequestId |
string |
The request ID. |
93126E40-0296-4129-95E3-AFAC709372E5 |
| ProjectName |
string |
The project name. |
test-project |
| EventId |
string |
The event ID. |
2C2-1I0EG57VR37J4rQ8oKG6C9***** |
| Status |
string |
The task status. |
Succeeded |
| Code |
string |
The task error code. |
ResourceNotFound |
| Message |
string |
The task error message. |
The specified resource project is not found. |
| StartTime |
string |
The time when the task started. The time is in the ISO 8601 UTC timestamp format with millisecond precision. |
2024-03-03T09:44:31.029Z |
| EndTime |
string |
The time when the task ended. The time is in the ISO 8601 UTC timestamp format with millisecond precision. |
2024-03-03T09:45:56.87Z |
| UserData |
string |
The custom information. |
{"ID": "user1","Name": "test-user1","Avatar": "http://example.com?id=user1"} |
| TaskType |
string |
The task type. |
DecodeBlindWatermark |
| TaskId |
string |
The task ID. |
DecodeBlindWatermark-c09b0943-ed79-4983-8dbe-7a882574**** |
| Content |
string |
The watermark content. |
阿里云版权所有 |
Examples
Success response
JSON format
{
"RequestId": "93126E40-0296-4129-95E3-AFAC709372E5",
"ProjectName": "test-project",
"EventId": "2C2-1I0EG57VR37J4rQ8oKG6C9*****",
"Status": "Succeeded",
"Code": "ResourceNotFound",
"Message": "The specified resource project is not found.",
"StartTime": "2024-03-03T09:44:31.029Z",
"EndTime": "2024-03-03T09:45:56.87Z",
"UserData": "{\"ID\": \"user1\",\"Name\": \"test-user1\",\"Avatar\": \"http://example.com?id=user1\"}",
"TaskType": "DecodeBlindWatermark",
"TaskId": "DecodeBlindWatermark-c09b0943-ed79-4983-8dbe-7a882574****",
"Content": "阿里云版权所有"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.