Periphery (Camera)

Capture Semantic Segmentation

Retrieves semantic segmentation data for specified object classes, with each detected entity uniquely labeled. If no class is specified, data for all labeled objects in the scene is returned.

Use the set_semantic_label endpoint to assign labels to scene entities.

get/periphery/cameras/capture/semantic-segmentation

Query parameters

result_type'json' | 'rgb_png' | 'jpeg' required

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.

object_classstring[]

The class of the object for which the data is to be fetched. If no labels are set in the scene, all bounding boxes could be returned.

The class of the object for which the data is to be fetched. If no labels are set in the scene, all bounding boxes could be returned.

camera_prim_pathstring nullable

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.

widthinteger

Image width in px

Image width in px

heightinteger

Image height in px

Image height in px

Response

Successfully fetched semantic segmentation data

Changes