MATLAB Answers

I want to identify left and right turns in the competition arena, is it possible to use image segmentation? I have tried in the image processing but, I don't think it will accept the three inputs of the camera

1 view (last 30 days)
Keith Marange
Keith Marange on 19 Feb 2020
Commented: Keith Marange on 20 Feb 2020
I want to identify left and right turns in the competition arena, is it possible to use image segmentation? I have tried in the image processing but, I don't think it will accept the three inputs of the camera.

Answers (1)

Mil Shastri
Mil Shastri on 19 Feb 2020
on line 12, try
X = rgb2lab([R G B])
instead of
X = rgb2lab(rgb)
  1 Comment
Keith Marange
Keith Marange on 20 Feb 2020
It still doesn't work, coming up with the same error message about invalid shape for input rgb. Is there any other approach to distinguish between left and right turns?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by