The following Matlab project contains the source code and Matlab examples used for script to do simple color detection in rgb color space. finds red objects in the image. . This script is a demo that shows you how to find objects of a certain color in an image.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.