LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Online Recognition Using NI VDM and ADLINK Grabber

Dear All,

 

Now, I make some program using NI VDM and ADNLINK Grabber. I want to program online recognition using pattern matching method. I can read image program the grabber using Labview 8.6, but when I want to learn image and search image the program can't do it. some massenge that I get from labview. I attach the program that I done. Error that I found is;

a. occured at IMAQ learn pattern 2- the template is too smaall. IMAQ Vision: (Hx 0xBFF6079E) the template is too small.

b. Occured at IMAQ Match Pattern 2 Invalid template descriptor. Imaq Vision: (Hex 0xBFF60791) invalid template descriptor.

 

 I hope some one can help me. Thank you very much.

0 Kudos
Message 1 of 4
(3,078 Views)

saifizi wrote:

...

I attach the program that I done. Error that I found is;

a. occured at IMAQ learn pattern 2- the template is too smaall. IMAQ Vision: (Hx 0xBFF6079E) the template is too small.

b. Occured at IMAQ Match Pattern 2 Invalid template descriptor. Imaq Vision: (Hex 0xBFF60791) invalid template descriptor.

...


The template is too small. Cannot be created because not enough learn information. Try to select bigger ROI. The next error invalid template descriptor - template is invalid because was not created, because too small.

In additional, as far as I know, Learn Pattern accepts 8 bit gray images only (but not sure - check help for supported image types).

 

 

For real help:

a) post VI without missing SubVI (grabber related)

b) post images and show desired ROI.

 

Andrey.

Message Edited by Andrey Dmitriev on 01-27-2010 11:24 AM
0 Kudos
Message 2 of 4
(3,065 Views)

Dear All,

 

Thank Andrey for your help. Here I attach adlink library that you need. I will do what you tell me. I hope you can help me to solve the problem. Thank you very much.

Download All
0 Kudos
Message 3 of 4
(3,052 Views)
Dear Andrey, I try to make my programming base on your advice. Can you help me to solve my problem that I can't make recognition using pattern matching. Thanks
0 Kudos
Message 4 of 4
(2,953 Views)