LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

who knows how to output some text once labview detects something I want using pattern matching(Vision assistant)?

who knows how to output some text once labview detects something I want using pattern matching(Vision assistant)?

 

The text is something like"Yes, this is a coin"

 

Thanks!

0 Kudos
Message 1 of 6
(2,989 Views)

I know how.

 

And if you could be a bit more specific in what you want to do, I might be able to give you some advice.

 

 

Christian

Message 2 of 6
(2,979 Views)

Thankyou  sooo much!

 

I bacically want to capture the year on different coins using pattern matching and tell what the year is. Once it matches and captures the specific year, I wanna ouput the year. for example"2008". I have my VI file attached. Could you make some adjustments for me to display the year? Btw, do you know how to make an excel file to collect all years info  if i read year from some coins one by one?

 

Appreciate it!!!!

 

Steve

0 Kudos
Message 3 of 6
(2,941 Views)

I attached a SubVI which I used to place an overlay next to a Pattern, found by a Pattern Match before:

 

overlaytxt.jpg

 

As you can see, you simply pass the image reference and the Array of Matches to the VI along with the String you want to have as an overlay next to the Match.

 

I also modified your VI a bit, but didn't test it. I created an Array of clusters, each elment containing the template path along with the respective text.

Please note that this is just a hint!

 

 

Christian

Download All
0 Kudos
Message 5 of 6
(2,925 Views)

Thank you!

 

But it doesn't capature the thing i need anymore(there is no rectangler box to circle it)

0 Kudos
Message 6 of 6
(2,893 Views)