1 | initial version |
Output of optical flow doesn't contain BGR color values, so it can be used in cvShowImage. To vizualize optical flow, you can draw arrows (as you did before cvShowImage) or convert optical flow to color image (here is a sample code, http://pastebin.com/0hXzFbbY)