I get the image through the webcam. Then I want to process the image and calculate the distance to a certain object in the image from the right edge of the image. Subsequently, I want to give this distance as the input to the fuzzy controller.
How can I do this? How can I link the image processing output to the fuzzy controller?