From dc8d4eef5f6674eab9ce51c1ab3b6be53c8082aa Mon Sep 17 00:00:00 2001 From: hexbabe Date: Fri, 6 Feb 2026 09:52:28 -0500 Subject: [PATCH 1/2] RSDK-13341: Document get_images source names in README Co-Authored-By: Claude Opus 4.6 --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 4423672..ba38383 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,19 @@ The following attributes are available for the Gemini 335Le model: | `640X480` | `640X480` | +## `get_images` Source Names + +`get_images` supports two source names for use with `filter_source_names`: + +| Source Name | MIME Type | Description | +|-------------|-----------|-------------| +| `color` | `image/jpeg` (MJPG) or `image/png` (RGB) | Color image from the RGB sensor | +| `depth` | `image/vnd.viam.dep` | Depth map from the depth sensor | + +Both color and depth streams are always enabled in the pipeline. The `sensors` attribute configures resolution and format but does not disable either stream. + +If `filter_source_names` is empty, both `color` and `depth` images are returned. If populated, only the matching source names are returned. Unrecognized names are ignored. + ## Attributes A call to get_attributes will return the camera attributes in [this struct](https://github.com/viamrobotics/viam-cpp-sdk/blob/43deea420f572e6b61b6fbd519e09b2520f05676/src/viam/sdk/components/camera.hpp#L58) From 770584cc7be33681a96aea2bf6d1a68523f62606 Mon Sep 17 00:00:00 2001 From: hexbabe Date: Fri, 6 Feb 2026 10:01:43 -0500 Subject: [PATCH 2/2] Fix --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index ba38383..e3ab0ae 100644 --- a/README.md +++ b/README.md @@ -128,11 +128,9 @@ The following attributes are available for the Gemini 335Le model: | Source Name | MIME Type | Description | |-------------|-----------|-------------| -| `color` | `image/jpeg` (MJPG) or `image/png` (RGB) | Color image from the RGB sensor | +| `color` | `image/jpeg` or `image/png` | Color image from the RGB sensor | | `depth` | `image/vnd.viam.dep` | Depth map from the depth sensor | -Both color and depth streams are always enabled in the pipeline. The `sensors` attribute configures resolution and format but does not disable either stream. - If `filter_source_names` is empty, both `color` and `depth` images are returned. If populated, only the matching source names are returned. Unrecognized names are ignored. ## Attributes