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

Object Mask DetectionMore infos...

Return a binary mask of an lonely object in an image. 0 means background, 1 for the object.

Syntax

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

Parameters

  • headers:
    • token
    • userName
  • body:
    • image : a string that contains an url or the binary content of an image encoded in base64
    • channel : S or V channel of HSV color space

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

algorithmSOBELBINNINGOTSU_BIN_THRESHOLD
only_biggest

Results

Code Snippetscurlpythonnodejsc

curl --location --request POST \ 'https://api.core.dev.ltutech.com/api/v2/image/objectMaskDetection?algorithm=SOBEL&only_biggest=true' \ --header 'userName: <your username>' \ --header 'token: <your token>' \ --header 'Accept: application/json' \ -d 'image=$IMGURL'
Json

JsonDepth 1234