Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Take image when object is detected

Hello to everyone.

 

First of all thanks a lot for reading this post and being able to help.

 

I have a camera taking images each 0.5 sec (snap vi).

 

In this images maybe there is an object maybe not.  I am visualizing always this display.

 

Then I have another display where I would like visualize the picture or taking a photo just when there is a thing.

 

I know that there is a thing when I dectect it whit a ROI.

 

Any ideasw to do that?

 

Thanks a lotª

 

0 Kudos
Message 1 of 4
(3,269 Views)
Hey,

If you are saying that the object is detected as ROI appears on it that means you have done 90 percent of job.Its just a matter of putting a case structure after the method where you are detecting a object and adding a code for saving the image @ particular path.
You can refer 'Snap and Save to File.vi' in Example finder LabVIEW
0 Kudos
Message 2 of 4
(3,265 Views)
-How you are detecting it?
-If it's pattern matching or some other matching technique, you can get number of results output and if it's greater than zero pass to case structure as case selector to do selective display.
Thanks
uday
0 Kudos
Message 3 of 4
(3,261 Views)

best and easy method  to start is calculate histogram  if histogram value change  more than thershoding that you select to test it get image
matching algorithm could make your camera slow for this reason  so first work on that 

0 Kudos
Message 4 of 4
(3,232 Views)