I was curious if anyone has the Farneback optical flow algorithm as a shader/.jxs/jit.gl.pix they'd be willing to share. I've been getting awesome results with the cv.jit library's cv.jit.opticalflow object as a nice interactive element for some video effects I've been repurposing / remixing from other Max heads. The Farneback method in particular is awesome because it gives a much more blobular/liquidy shape than the Horn-Schunk method.
I've attached a patch that shows some of the ways I've been using it and it totally works, I'd just love to get it all on my GPU rather than rely on cv.jit's CPU usage. Thanks!
Also credit to Andrew Benson since this particular patch is just an extension of his DebrisHD patch from the jitter recipes package.