Capture Instance Segmentation
Retrieves instance segmentation data for specified object classes, with each detected object uniquely identified. Use the set_semantic_label endpoint to assign labels to scene entities.
Query parameters
Format which will be used to represent the captured data. 'json' carries the measurements; 'rgb_png' and 'jpeg' are renderings to look at, and jpeg is lossy.
Format which will be used to represent the captured data. 'json' carries the measurements; 'rgb_png' and 'jpeg' are renderings to look at, and jpeg is lossy.
Classes of objects to include in segmentation. If not specified, returns all labeled instances.
Classes of objects to include in segmentation. If not specified, returns all labeled instances.
Path of camera prim. Leave it out to capture through the active viewport camera.
Path of camera prim. Leave it out to capture through the active viewport camera.
Image width in px
Image width in px
Image height in px
Image height in px
Response
Successfully fetched instance segmentation data
Changes
Changed in 1 of the 13 revisions of this API.5
- ○
the
queryrequest parametercamera_prim_pathbecame optionalrequest-parameter-became-optional
- ○
added the new enum value
jpegto thequeryrequest parameterresult_typerequest-parameter-enum-value-added
- ○
queryrequest parametercamera_prim_pathlist-of-types was widened by adding typesnullrequest-parameter-list-of-types-widened
- ○
for the
queryrequest parametercamera_prim_path, the type was generalized fromstringto no typerequest-parameter-type-generalized
- ○
added the media type
image/jpegfor the response with the statusresponse-media-type-added
- ○