Hey, I’m trying to be able to discern direction of motion in video, basically I want to know if stuff is moving left to right, or right to left. This is something I was able to do successfully using a flow field in Processing as outlined here: http://www.jackkalish.com/blog/?p=5
I was able to implement the ofxCvOpticalFlowPyrLK add on, as you can see here: http://www.jackkalish.com/blog/?p=51
However, I’m not sure how to use this class to get the general direction of motion. Anyone have any ideas?
Kyle, I also downloaded your ofxCv flow example:
But, I’m having problems getting that to compile.