Capture Boundingbox 2D
Changed onRetrieves 2D bounding box data for specified object classes from the scene. 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.
Classes of objects to include in the 2D bounding box output. If not specified, returns all labeled instances.
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 2D bounding box 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