Drop Your Image Anywhere
Classification
Color Palette
Contours
Object Detection
Object Mask Detection
Text Detection
Search Image
Search by Color
Alignment Matrix
Images Differences
Images Distance
Contact Us

Images DifferencesMore infos...

Find and return differences between 2 images

Syntax

POST https://api.core.dev.ltutech.com/api/v2/image/differences

Parameters

  • headers:
    • token
    • userName
  • body:
    • image1 : a string that contains an url or the binary content of an image encoded in base64
    • image2 : a string that contains an url or the binary content of an image encoded in base64
    • preset : 1 to 5 or "custom", for pre-configured or custom settings. See the complete documentation details

To implement this feature in your project you need to be logged in. To know how to get your token you can consult the getToken documentation. Should you need a test account please contact us.

Samples

No samples.

ParametersAdjust parameter(s) and select a sampleAutorefreshONOFF

preset12345customUse predefined settings, if 'custom' see doc for details.
transformGet the registration matrix in the json result.
verticesGet the coordinates of each vertices.
mask_typenonebinarycontoursVisual representation of the differences.

Results

Code Snippetscurlpythonnodejsc

curl -X POST \ 'https://api.core.dev.ltutech.com/api/v2/image/differences\ ?preset=4&transform=true&vertices=false&mask_type=binary'\ --header 'userName: <your username>' \ --header 'token: <your token>' \ --header 'Accept: application/json' \ -d 'refImage=$IMG1URL' \ -d 'queryImage=$IMG2URL'
Json

JsonDepth 1234