Newer Version Available

This content describes an older version of this product. View Latest

Identify Objects in an Image

After the model is built, use it to identify objects in an image.
Resource
1/services/data/vXX.X/connect/object-detection/images
Available version
47.0
HTTP methods
POST
Request Body
JSON example
1{
2   "objectList":{
3      "objects": [
4        “Example Object”, “Sample Product”, “Test Product”
5   ]},
6   "imageUrl":   “sampleimagelocationwebsite.com”,
7   "imageFileId": “0F9D00000000I4Z”
8}
Properties
Name Type Description Required or Optional Available Version
imageFileId String Unique identifier of the content document that contains the image in your org. Optional 47.0
imageUrl String URL of the cloud location where the file is uploaded. Optional 47.0
objectList String[] Comma-separated list of objects to identify in the image. Required 47.0

If both the imageURL and the imageFileId are provided, the imageURL is considered.

Note

Response Body
Image and Objects