Drop Your Image Anywhere
Classification
Color Palette
Contours
Image Quality
Object Detection
Object Mask Detection
Text Extraction
Search by Image
Search by Color
Images Alignment
Images Differences
Images Distance

backgroundExtractionPick a sample pair or drop 2 images

Results

DetailsMore infos...

Remove background from an image based on the mask provided.

Syntax

POST https://api.core.ltutech.com/v2/services/image/backgroundExtraction

Parameters

  • headers:
    • authorization: your access token
  • body: parameters are sent under binary or ASCII characters format as separated part in the body of a multipart form request
    • image : a string that contains an url or the binary content of an image encoded in base64
    • mask : a binary mask

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.

Code Snippetscurlpythonnodejsc

curl --request POST \ 'https://api.core.ltutech.com/v2/services/image/backgroundExtraction?' \ --header 'Authorization: Bearer <your token>' \ --header 'Accept: application/json' \ --form 'image=$IMGURL' \ --form 'mask=$MASKURL'
Do you like this functionality ?
Would you like to test with your own images in your own environment ?
To get your API Key and create a test account, please contact us.
Contact Us
Json

JsonDepth 1234