02-28-2014 11:34 PM
hi all...i am relatively new to labview, please guide me a little.. i want to make a program which detects colors(atleast 5 colours). i get the live image from webcam.
please give me few different methods to approach this..and also what i should be careful about so as to not make mistakes.
initially i thought of making a cluster database for few colours which has the RGB values and trying to match them with the input. But how to convert the image to use it for comparision?
thank you in advance.
03-08-2014 11:23 PM
Hey 6hari9,
I've done some color detection/filtering before in LabVIEW and I relied pretty heavily on the IMAQ and our other vision software. Do you happen to have any NI Vision software at your disposal?
Also, a question like this would be great in the Machine Vision boards. I'm sure the folks there have plenty of information to share
http://forums.ni.com/t5/Machine-Vision/bd-p/200
03-09-2014 07:42 PM
I would look into converting from RGB to HSL, since RGB will be very lighting dependant. When you said webcam I get a little worried since this usually implays a very uncontrolled vision environment (poor lighting and imaging control). Either way Hue is usually more regular than combos of R G and B for color detection.