Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the fps of a online tracking program?

Hello 🙂

I am trying to track the motion of little beads at 12 Hz of sampling frequency. For that purpose I have written a LabVIEW program to online track the position vs time of that beads. However I only achieve 2 Hz of sampling frequency.

The program works as follows:
(1) Take an image through 1394 drivers. I use the SNAP 1394 function.
(2) Find the centroid of every particle in the image. (This lasts less than 50 ms)
(3) Repeat the same process with a timed loop.
I don't use any graphical representation that could slow the process.

Any ideas to increase the sampling frequency? May be changing the SNAP function? Consider a triggered adquisition?

Thank you in advance,
Raimon
0 Kudos
Message 1 of 3
(2,953 Views)
I think the Grab Acquire and Sequence functions may be more appropriate (and faster) for what you're trying to do.
0 Kudos
Message 2 of 3
(2,947 Views)
Thank you!

Using the GRAB function I can achieve 6.5 Hz of sampling frequency. In order to make sure that always I have the same delay between frames I am thinking in triggering the camera. But I don't know how to do it. Can I use the GRAB function in trigger adquisitions? Is it possible to generate a trigger with the same LabView program? is it necessary to remove the timed loop of my program?

Any suggestions would be appreciated!!!

Thank you in advanced,
Raimon
0 Kudos
Message 3 of 3
(2,920 Views)