Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

real time color pattern matching

I am doing a project of color pattern matching in real-time. I want the pattern that is matched with the templete shows on the screen. I was trying to write some labview code but it only works for the first single image. The labview i use is 8.6. camera is the ieee 1394b firewire camera. I hope someone is capable of fixing my problem.

 

Thanks for any help.

0 Kudos
Message 1 of 9
(4,797 Views)

Hi blue hill,

 

Can you post your vi for lv 8.0? or a screen shot of ur vi?

0 Kudos
Message 2 of 9
(4,787 Views)

hi muks,

 

I dont have 8.0 version. Here is the screen shot.

 

Thanks.

0 Kudos
Message 3 of 9
(4,776 Views)
What is the match score that you have set? Ideally 600-700 is the score that was recommended as a rule of thumb.
0 Kudos
Message 4 of 9
(4,773 Views)
I didn't set the score. Yes, 700 can be as the minimum.
0 Kudos
Message 5 of 9
(4,768 Views)

I just modified my vi a little bit. It can work well for the single picture on my computer. Both the image and templete image can be opened, and the detected image can be marked. Once I tuned the code to make it work for the images caputred by camera, the templete image seemed not be opened. I used the probe to find that.

 

Thanks for any help,

 

BlueBill

0 Kudos
Message 6 of 9
(4,748 Views)

 

 

Hi! I'm tring to use Imaq Setup Learn Color pattern Vi. It has a tunnel in : Ignore color spectra. I read many posts, manuals, all of vision manuals ::) but i dont really understand how to use it. " For
example, by replacing the last component in the color spectrum with –1, the
white color is ignored during the color matching process.
". OK , but how to do that? anyway, i read this : Use the Color Sensitivity control of the IMAQ ColorLearn VI to
specify the granularity you want to use to represent the colors".  So, what I wanna do , how to use the color spectrum array (2dim) from Imaq Color Learn  as an input to the Imaq Setup Learn Color pattern vi, avoiding the error messasge like this : error2.JPG

Please help! 

 

 

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 7 of 9
(4,710 Views)

hi durnek60,

 

why dont you start a new thread?

0 Kudos
Message 8 of 9
(4,697 Views)

Hi muks! Sorry, but i don't understand... New thread? how? by the way, my problem is how to use ignore color spectra array in Imaq Setup Learn Color pattern vi. 

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 9 of 9
(4,690 Views)