Here is a general outline of how to approach this problem in Matlab:
Here is an example code snippet to perform optical flow extraction using the built-in opticalFlowFarneback
function in Matlab:
main.m275 chars9 lines
Note that this is just one step in the pipeline, and additional preprocessing and feature extraction steps would need to be added depending on the specific requirements of the project.
gistlibby LogSnag