You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/services/try-viam-color-detection.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ Navigate to your robot's **Config** tab on the [Viam app](https://app.viam.com/r
73
73
74
74
Your configuration should look like the following:
75
75
76
-
{{<imgprocsrc="/try-viam/try-viam/vision-service-config.png"resize="x600"alt="The vision service configuration panel showing the color set to a reddish color, the hue tolerance set to 0.06, and the segment size set to 100.">}}
76
+

77
77
78
78
{{% /tab %}}
79
79
{{% tab name="JSON Template" %}}
@@ -133,7 +133,7 @@ To create a [transform camera](/components/camera/transform/):
133
133
3. Select `transform` as the model.
134
134
4. Enter a name for **Name**, for example `detectionCam`, and click **Create**.
135
135
136
-
{{<imgprocsrc="/tutorials/try-viam-color-detection/create-transform-camera.png"resize="900x"declaredimensions=truealt="The Viam app showing the Create Component panel populated with a camera component. The name is detectionCam, the type is camera, and the model is transform.">}}
136
+
{{<imgprocsrc="/tutorials/try-viam-color-detection/create-transform-camera.png"resize="350x"declaredimensions=truealt="The Viam app showing the Create Component panel populated with a camera component. The name is detectionCam, the type is camera, and the model is transform.">}}
137
137
138
138
Viam generates an empty **Attributes** section for the detection camera's component panel.
139
139
The panel's **Attribute Guide** section displays the available attributes for the selected component.
@@ -142,7 +142,7 @@ The panel's **Attribute Guide** section displays the available attributes for th
142
142
Attribute Guides always prefix required attributes with an asterisk.
143
143
{{% /alert %}}
144
144
145
-
{{<imgprocsrc="/tutorials/try-viam-color-detection/transform-camera-config.png"resize="900x"declaredimensions=truealt="The Viam app showing the detectionCam component section. The Attributes section contains a skeleton configuration, including source, pipeline, type, and attributes. The Attributes Guide section lists the available camera component attributes. There are buttons labeled Data Capture Configuration, and Frame, and a drop-down labeled, Depends On. On the upper right there is a trash bin icon.">}}
145
+

146
146
147
147
Copy the following JSON configuration into the **Attributes** section:
148
148
@@ -169,7 +169,7 @@ Copy the following JSON configuration into the **Attributes** section:
169
169
|`attributes.confidence_threshold`|`0.3` (30%) | The percentage of confidence needed by the detection service to identify a color. |
170
170
|`type`|`detections`| The type of the component. |
171
171
172
-
{{<imgprocsrc="/tutorials/try-viam-color-detection/transform-camera-attributes.png"resize="900x"declaredimensions=truealt="The Viam app showing the detectionCam component section. The Attributes section contains a skeleton configuration, including source, pipeline, type, and attributes. The Attributes Guide section lists the available camera component attributes. There are buttons labeled Data Capture Configuration, and Frame, and a drop-down labeled, Depends On. On the upper right there is a trash bin icon.">}}
172
+

173
173
174
174
After adding the component and its attributes, click **Save config**.
0 commit comments