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: content/hardware/05.nicla/boards/nicla-vision/tutorials/blob-detection/content.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ In order to feed the blob detection algorithm with an image you have to take a s
101
101
102
102

103
103
104
-
To get a rough idea of the LAB color range of the target object you can use the histogram view in OpenMV. Draw a rectangle with the mouse pointer just above the target object in the frame buffer view. In the histogram you can see which color values appear most often. You can set the target color ranges to the min and max values of the corresponding color component.
104
+
To get a rough idea of the LAB color range of the target object you can use the histogram view in OpenMV. Make sure you have set the histogram to LAB color mode. Draw a rectangle with the mouse pointer just above the target object in the frame buffer view. In the histogram you can see which color values appear most often. You can set the target color ranges to the min and max values of the corresponding color component.
105
105
106
106

107
107
@@ -141,7 +141,7 @@ The result of that will be visible in the Frame Buffer preview panel on the righ
141
141
142
142

143
143
144
-
### 4. Toggling LEDs
144
+
### 5. Toggling LEDs
145
145
146
146
What if you want some visual feedback from the blob detection without any computer connected to your board? You could use for example the built-in LEDs to indicate whether or not a blob was found in the camera image. Let's initialise the red and the green LEDs with the following code:
147
147
@@ -165,7 +165,7 @@ else:
165
165
166
166
In this example the green LED will light up when there is at least one blob found in the image. The red LED will light up if no blob could be found.
167
167
168
-
### 5. Uploading the Script
168
+
### 6. Uploading the Script
169
169
Let's program the board with the complete script and test if the algorithm works. Copy the following script and paste it into the new script file that you created.
0 commit comments