Skip to main content

Detect watermarks in an image

Detect Watermarks transformation allows users to determine whether an image is watermarked.

The result of Detect Watermark is a JSON, as shown below:

{
"data": {
"attributes": {
"watermark": false
}
}
}

The JSON key is explained in the below table:

PropertyDescription
watermarkA boolean value indicating whether or not the image contains a watermark.
note

Instead of getting the output in a traditional CDN URL, you will get a JSON output from the Context API while the CDN URL will return the original image without any modifications.


Params

Detect (detect_text)

Detect Watermarks also works if the watermark in the image is in text format.

The default value is false.

Is this page useful?