This module implements the Viam Camera API in a viam-labs:camera:3d-segmentation-visualizer model.
With this model, you can visualize the outputs from a vision service's GetObjectPointClouds method by overlaying colored segmentation data onto point clouds from a camera.
Navigate to the CONFIGURE tab of your machine's page.
Click the + button, select Component or service, then select the camera / 3d-segmentation-visualizer model provided by the 3d-segmentation-visualizer module.
Click Add module, enter a name for your camera, and click Create.
On the new component panel, copy and paste the following attribute template into your camera's Attributes box:
{
"camera_name": "<string>",
"vision_service_name": "<string>"
}The following attributes are available for viam-labs:camera:3d-segmentation-visualizer cameras:
| Name | Type | Inclusion | Description |
|---|---|---|---|
camera_name |
string | Required | The name of the source camera that GetObjectPointClouds uses as input |
vision_service_name |
string | Required | The name of the vision service that implements GetObjectPointClouds |
{
"vision_service_name": "obstacle_service",
"camera_name": "pointcloud_cam"
}