I need to calculate speed of a moving object detected through 2D blob analisys. In order to do that I need to store information about center of gravity from previous and current frame. My idea was to insert blank data before first frame, so for subsequent frames I would get data from both current and previous fram. That allowed me to subtract previous position from current position. Thing is that causes synchronization issues which I'm unable to fix, using SYNC block with FIFO doesn't really help.
I attached my example VA.