Capture Semantic Segmentation
Changed onRetrieves 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.
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
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.
Path of camera prim. Leave it out to capture through the active viewport camera.
Image width in px
Image height in px
Response
Successfully fetched semantic segmentation data
Changes
- info
the
queryrequest parametercamera_prim_pathbecame optional - info
added the new enum value
jpegto thequeryrequest parameterresult_type - info
queryrequest parametercamera_prim_pathlist-of-types was widened by adding typesnull - info
for the
queryrequest parametercamera_prim_path, the type was generalized fromstringto no type - info
added the media type
image/jpegfor the response with the status
- info