... | ... | @@ -17,7 +17,15 @@ What is your plan to reach the goal? |
|
|
## Results
|
|
|
|
|
|
### Exercise 1
|
|
|
The threshold value signifies a reference light value for which the program can determine whether it is above a white or black area on the ground. A light value below the threshold leads to the conclusion that the machine is above a black area, while for a value above the threshold, a white area. As such, we would like to use the mean value of black and white as the threshold.
|
|
|
|
|
|
| **Color** | White | Black | Green | Grey |
|
|
|
| **Light value** | 39-42 | 29 | 46-47 | 56 |
|
|
|
|
|
|
The threshold value signifies a reference light value for which the program can determine whether it is above a white or black area on the ground. A light value below the threshold leads to the conclusion that the machine is above a black area, while for a value above the threshold, a white area. As such, we would like to use the mean value of black and white as the threshold.
|
|
|
|
|
|
(58+36)/2 = 47
|
|
|
(59+37)/2 = 48
|
|
|
|
|
|
### Exercise 2
|
|
|
|
|
|
### And so on??
|
... | ... | |