image thumbnail

Identification red objects in live video

version (2.27 KB) by Oren B
This function allows to identify red objects in live video, and painting them .


Updated 29 Apr 2013

View License

%% Operating Instructions
To paint the color red object we vote to act as follows:

* Red - redobject(1)
* Green -redobject(2)
* Blue - redobject(3)

%% Play and exit:

* To start the video: click on the Play button.
* To exit from the function: Display to the camera very dark image ,
for example you can shelter the camera with your hand,
Or turn off the light in the room.After doing so
The Camera and function should be closed automatically.

%% Notes

The identification of red objects in the picture depends on the lighting of the room.
Lighting Fluorescent light is the most appropriate lighting to this function to identify red objects.

Cite As

Oren B (2021). Identification red objects in live video (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!