Skip to content

Commit fc3599a

Browse files
committed
integrate comments
1 parent abe255f commit fc3599a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/tutorials/services/try-viam-color-detection.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ Add the vision service object to the services array in your rover’s raw JSON c
9999
{{% /tab %}}
100100
{{< /tabs >}}
101101

102-
The configuration adds a model of type `color_detector` with the color as a parameter.
103102
The `color_detector` is a heuristic-based detector that draws boxes around objects according to their hue.
104103

105104
Click **Save config** and head to the **Components** tab.
@@ -113,7 +112,7 @@ Object colors can vary dramatically based on the light source.
113112
We recommend you verify the desired color detection value under actual lighting conditions.
114113
To determine the color value from the actual cam component image, you can use a pixel color tool, like [Color Picker for Chrome](https://chrome.google.com/webstore/detail/color-picker-for-chrome/clldacgmdnnanihiibdgemajcfkmfhia).
115114

116-
If the color is not reliably detected, drag the `Hue Tolerance` slider to the right or navigate to the `Raw JSON` tab to increase the `hue_tolerance_pct`.
115+
If the color is not reliably detected, drag the **Hue Tolerance** slider to the right or navigate to the **Raw JSON** tab to increase the `hue_tolerance_pct`.
117116

118117
Note that the detector does not detect black, perfect greys (greys where the red, green, and blue color component values are equal), or white.
119118
{{< /alert >}}
@@ -123,15 +122,15 @@ Note that the detector does not detect black, perfect greys (greys where the red
123122
Viam [camera](/components/camera/) components can be [physical](/components/camera/webcam/) like the one already configured on the rover, or virtual.
124123
A virtual camera transforms the output from a physical camera.
125124

126-
To view output from the color detector overlaid on images from a physical camera, you need to configure a [transform camera](/components/camera/transform/).
125+
To view output from the color detector overlaid on images from a physical camera, configure a [transform camera](/components/camera/transform/).
127126

128-
Navigate to the **Components** tab in the Viam app and scroll to the **Create Component** section.
127+
Navigate to the **Components** tab in the Viam app and click the **Components** subtab.
129128
To create a [transform camera](/components/camera/transform/):
130129

131-
1. Click **Create Component**.
130+
1. Click **Create Component** in the lower-left corner of the page.
132131
2. Select `camera` as the type.
133132
3. Select `transform` as the model.
134-
4. Enter a name for **Name**, for example `detectionCam`, and click **Create**.
133+
4. Enter a name, for example `detectionCam`, and click **Create**.
135134

136135
{{<imgproc src="/tutorials/try-viam-color-detection/create-transform-camera.png" resize="350x" declaredimensions=true alt="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.">}}
137136

0 commit comments

Comments
 (0)