1 2 3 4 5 6 Next>>
Detecting the green ball
We use the RGBFilter of RoboRealm to remove all objects in the image except the green
ball. The RGBFilter is set to filter out green objects using an RGB channel subtraction and
then normalizes the remaining values. This will highlight green objects nicely.
Now that the ball is segmented from the background we need to determine the objects relative size
from image to image to determine if we need to move forward, backwards or remain stationary.
1 2 3 4 5 6 Next>>
|