Code covered by the BSD License  

Highlights from
Machine Vision System - Color Recognition

5.0

5.0 | 3 ratings Rate this file 18 Downloads (last 30 days) File Size: 3.22 MB File ID: #19020
image thumbnail

Machine Vision System - Color Recognition

by

 

03 Mar 2008 (Updated )

This gui is a demonstration on the concept of machine vision system for color recognition

| Watch this File

File Information
Description

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 < http://www.mathworks.com/matlabcentral/newsreader/view_thread/164139 >

User comments welcome

Acknowledgements

Splash.M(Revised) inspired this file.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.3 (R2006b)
Other requirements Tested only R2006b and Windows XP SP2.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
20 Oct 2011 Mr Smart  
15 Jan 2009 Yawar Rehman  
29 Oct 2008 Vihang Patil

Samuel. This program is developed in R2006b, a version which is much more newer than the one you are using Matlab6p5. You will need to update your software to atleast R2006b or higher

09 Oct 2008 Samuel Sam

I execute eyekon but encountered the following errors:

??? Error using ==> load
Unable to read MAT file C:\MATLAB6p5\work\maingui.fig

See FILEFORMATS for a list of known file types and the functions used to read them.

Error in ==> C:\MATLAB6p5\toolbox\matlab\iofun\hgload.m
On line 45 ==> fileVars = load(filename,'-mat');

Error in ==> C:\MATLAB6p5\toolbox\matlab\graphics\openfig.m
On line 89 ==> [figs, oldvis] = hgload(filename, struct('Visible','off'));

Error in ==> C:\MATLAB6p5\toolbox\matlab\uitools\gui_mainfcn.m (local_openfig)
On line 184 ==> gui_hFigure = openfig(name, singleton, 'auto');

Error in ==> C:\MATLAB6p5\toolbox\matlab\uitools\gui_mainfcn.m
On line 82 ==> gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt);

Error in ==> C:\MATLAB6p5\work\maingui.m
On line 40 ==> [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});

Error in ==> C:\MATLAB6p5\work\eyekon.m
On line 2 ==> h = maingui;

Can you tell me what's wrong with my configuration. Thanks!

Contact us