From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Hi, I'm quite new in Labview. I am trying to develop a program to compute the optical flow between two consecutive frames in order to track a point in a real time webcam acquisition. To do so I am using the LKP block and at the end of every iteration the current frame is passed into previuos frame and then the new frame is acquired. The problem is that the point is not being tracked since it maintains the initial position, I guess I am doing some mistakes with the frames updates but I can't figure out what it is.
A very long time has passed since I created this topic and unfortunately I don't even remember very well the problem as you can imagine.
But if I recall correctly it was a problem of updating the new frame and pass the old one in the for loop, try to replace tunnels with shift registers in your loop.