Machine Vision System - Color Recognition

This gui is a demonstration on the concept of machine vision system for color recognition
Updated 3 Mar 2008

View License

This gui is a simple demonstration of machine vision system deployed for color matching.
The opening gui program is eyekon.m and the rest of the m files are either supporting or function files.

USAGE: eyekon

Except the main color matching function which are the p-files, I have all other functions as m files to

protect the I.P.
This is an actual implementation of the system at one of the 2 wheeler vehicle manufacturing company
I have modified a little as the main implementation required camera interface and hardware triggering

The main objective of this project were are:
1. To identify the three basic colors, i.e red, black and blue on hardware trigger,<I have modified this part

as hardware triggering would have had been difficult to simulate for everyone, so it is either timer based

"Auto Inspect" or "Manual Inspect" >
2. Give out an Audio -Visual Indication on Color Change
3. Display a "model" wearing that specific colored dress on color change
4. Display NOCOLOR when color is not identified
5. Functions like Auto Hide, Animation on/off, Audio indication on/off etc
6. Control Panel to add more colors
7. This program also stores last selected parameters on gui close, like position, auto hide, sound alert

and on_top parameters.

I would like to thank all those who contributed to making this code a success. The link of the thread

found here < >

User comments welcome

Cite As

Vihang Patil (2024). Machine Vision System - Color Recognition (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: splash.m

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes