LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

template too small

I am a student..Then, currently I am learning how to use Labview in Image acquisition for my project..My project is to snap an image and save it in jpeg format. Then, rectangle a part of the picture to learn the template and search the template in the picture..For now, my problem is after snap the image, I rectangle a part and try to learn the template..But, there is an error shown which is the template is too small...Therefore, I cannot learn the template to preceed to the search process..So, can anyone help me to solve this problem..It is urgent and I hope someone can help me solve this problem..Besides, I have attached my program and hope someone can help me solve my program..Thank you..
0 Kudos
Message 1 of 2
(2,586 Views)

Hi Mechatronic,

 

In order for pattern matching to work, there must be sufficient information in the template (edge/intensity information) so the template size cannot be too small.

 

I've looked through your VI and I believe you are using a webcam? What is the image you are trying to capture, and what is the size of the template you are currently using?

 

In software, if possible select a larger template area. Otherwise in hardware, try zooming in nearer to your object of interest, or use a higher resolution webcam.

 

Regards,

Boon Chen

0 Kudos
Message 2 of 2
(2,544 Views)