Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

matching colors from a saved template

hello there, i am currently doing a project involving vehicle licence plate recognition in labview using ni vision. a part of this project requires use of a color matching algorithm. till now, i have been experimenting with the vision assistant to help me with a good color matching algorithm to use. loading and saving templates were done with ease. however, the problem here is , i need to evaluate all templates to recognise the color of the vehicle. vision assistant contrainted me to use a single template for an image. any ideas of further pursuing this topic is greatly appreciated. thank you
0 Kudos
Message 1 of 7
(5,017 Views)

You picked a tough project to tackle.  I researched the possibility of license plate recognition in LabVIEW a few years ago, and decided the best option for the customer was to go with one of the canned packages available.  I have seen some improvement in the LV vision tools since then, but I think my conclusion would still be the same.  I especially would avoid using vision builder AI or vision assistant.  You will need to code some complex algorithms that neither one would handle well.

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 7
(5,017 Views)

I agree with Bruce that such an algorithm is not suited for Vision Assistant. I would look at the IMAQ ColorLearn, ColorMatch, and ColorHistogram vi's in LabVIEW (in the Image Processing >> Color Processing palette).

You could load up a number of templates by creating a loop of buffers and loading each template into a buffer.

0 Kudos
Message 3 of 7
(5,009 Views)
using buffers to store the templates? any idea if i can source any example codes anywhere.. rather new at labview programming ere:) just got the basics done. but the project given was of such a level. what else can i say:P
 
0 Kudos
Message 4 of 7
(5,003 Views)

I would look at the Vision examples that install with the Vision Development Module under:

C:\Program Files\National Instruments\LabVIEW 7.1\examples\Vision\

Specifically, look at the OCR example: C:\Program Files\National Instruments\LabVIEW 7.1\examples\Vision\2. Functions\OCR

Good luck with the project!

0 Kudos
Message 5 of 7
(4,992 Views)

hey,i have the same project in labview n having many difficulties.plz could u give me your code in labview(8.2).ill b very thankful to u.

0 Kudos
Message 6 of 7
(4,452 Views)

plz any one could tell me how to do the following things:

i have to capture a red frame when ever it comes across ma web cam that is making video

i have dont the grabbing thing but i am very new lerner of labview(8.2) so dont know how to use it.

i know the algo to implement ma code but unable to do it practically.

i want to compare each image seen by my web cam with a red color or i want to match each image seen by ma web cam with a red color defining a specific level and if that frame contains the red color thn that frame is captured otherwise the camera keeps on seeing the images.i know which vi to use but unable to implement it.plzz some body help me.

can any1 only give me the blok diagram for simply taking an image and then if that image has a red color in it then an indication is given..

plzzz do rep soon.

0 Kudos
Message 7 of 7
(4,445 Views)