Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

speedup golden template

I am using Golden Template function for defect detection of label. it works fine but this function takes @200 msec. for 100 mm X 60 mm size label on AMD 5000+ dual core processor(2.6 GHZ. 1 MB L2 catch), 1 GB DDR2/ 666mhz RAM, WINXP2, 2000Mhz FSB ASUS Motherboard &  128 MB RADEON X3000SE PCI express graphics card. but this speed is not enough for my application. is there any solution to spped up the time. how to minimize this time upto 70msec. so that i can have enough time to do other tasks. by using RT based system it is possible to achive the target time? & what will be the requirement for to make the current system as a RT based system?
0 Kudos
Message 1 of 4
(4,662 Views)
Hello ashwink27,

In regards to speeding up the Golden Template function (I am assuming you are using the IMAQ Compare Golden Template and IMAQ Learn Golden Template), these VIs are simply calling a dll, therefore there is no way to "speed up" the functionality of these applications.  You might try adjusting the values you are passing through these VIs to enhance performance or trying some other type of image processing (i.e. pattern matching, edge detection, etc.)

If you are interested in using Vision with RT, here are some documents you might take a look at.

Machine Vision Systems with LabVIEW Real-Time

What Do I Need for Running IMAQ Vision under LabVIEW RT?

I hope this helps.

Regards,

Vu

0 Kudos
Message 2 of 4
(4,646 Views)
Thank you very much for your reply. In pattern matching algorithm we can not detect very small errors(defects),so we prefer "Golden Templet" over Pattern Matching. Using windows XP 64 bit can we get some better results for speed or does RT based system could provide us better result .?
 
 
0 Kudos
Message 3 of 4
(4,586 Views)
look at the cpu use while you are making your call to the DLL. I would bet it is using only one CPU. So if you can't be faster, make a parallel process for your other activities.

Cheers
Doc-Doc
http://www.machinevision.ch
http://visionindustrielle.ch
Please take time to rate this answer
0 Kudos
Message 4 of 4
(4,582 Views)