Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

golden template

Hi Zach,

 

I have changed the display to snapshot mode but it is still saving the image as all black despite showing some image features in the labVIEW display.

 

The image being sent to the learn golden template VI is U8 as it is coming out of the colour threshold VI however, i have also added a cast image VI in but it has made no difference. I am not really sure what the problem is as i am not getting any errors or warnings (VI attached)

 

-Adam

0 Kudos
Message 11 of 15
(1,407 Views)
bump
0 Kudos
Message 12 of 15
(1,385 Views)

Hello,

 

Can you post some screenshots of the behavior you are experiencing so that I can take a look?

 

-Zach

0 Kudos
Message 13 of 15
(1,383 Views)

Hi Zach,

 

please find screen shots attached.

 

"seventeeen.png" is the image file that is saved to disk

"block Diagram" is a screen shot of my VI

"front end display.jpg" is what is being shown on the front end of my VI after execution.

 

any thoughts?

-Adam

0 Kudos
Message 14 of 15
(1,376 Views)

Hello,

 

I modified your example in order to read images from a file and was unable to get that working with what you had. In looking for additional information, I have run across a number of different things that went wrong. This Knowledgebase ended up having a link to what I had been looking for all along: an example. The problem that we were experiencing comes from the need of some geometric matching in order to learn the pattens in the image. The Learn Template seems to be used to give a Template type output instead of learning an actual image. Try out this example and see if that gets you going.

 

-Zach

0 Kudos
Message 15 of 15
(1,363 Views)