MATLAB Answers

Color Detection and Segregation

1 view (last 30 days)
Farhan Ahamed
Farhan Ahamed on 7 Apr 2020
Hello, I'm currently working on Color detection and segregation. I'm using Arduino to control the belt conveyer and servo. Im using webcam for live data.
I want to know which color is shown in image and move the servo. My code with the help of image analyst file_exchange is attached below.
Using if loop can you explain if red color appear then ifprintf: RED
else if..............
I dont know how to write the condition ? red object== red!!????
Thanks....

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!