I’d like to track movement with a camera hanging on top of people. What I need to track is the average direction of anything moving. So I’m trying is :
using optical flow shader
blur the texture to get average color
pipet to rgb and get XY
polar node to get the rotation
But as you can see in the patch provided it’s not really accurate, but almost.
Any hint on this ?
Optical Flow Orientation.zip (227.6 kB)