Showing results for 
Search instead for 
Did you mean: 

object tracking

Go to solution

Hello everyone, I am currently using the object tracking example that comes with LabVIEW, but the method in the example is to read the video for testing. I want to change the program structure to an industrial camera of JAI usb  to read and track in real time. How do I modify it?

0 Kudos
Message 1 of 7
Accepted by topic author luopeng2019

Replace the video open, read and close with a camera open, grab and close.

Message 2 of 7
Accepted by topic author luopeng2019

Thank you very much for your answers, the problem has been solved according to the method you provided.

0 Kudos
Message 3 of 7

I don’t understand the program provided in the example. What is the program logic of the object tracking program or the principle of the algorithm? Looking forward for your response, thank you!

0 Kudos
Message 4 of 7

Sorry, can't help you with that. I don't have IMAQ installed at the moment. Perhaps if you post an image.

0 Kudos
Message 5 of 7



0 Kudos
Message 6 of 7

So when you say you don't understand it, do you mean how to use them or how they track objects?


How to use them is all in the help (or rather, all there is is in the help):


The they track objects is in the Vision Development Module Help (NI Vision Concepts.chm, probably also in the LabVIEW help if IMAQ is installed), under Object Tracking Techniques:


NI Vision implements two object tracking algorithms:

  • Mean shift—A simple algorithm that tracks the user-defined objects by iteratively updating the location of the object.
  • EM-based mean shift (shape adapted mean shift)—An extended version of the mean shift algorithm in which not only the location but also the shape (including scale) of the object is adapted frame after frame.
0 Kudos
Message 7 of 7