As part of McGill course COMP558 - Fundamentals of Computer Vision, my teammate Beomjoon Kim and I used a Kinect sensor and the “optical flow” algorithm from OpenCV to obtain a velocity field of the sensor’s surroundings. The intended application is for a autonomous robot to be able to detect the flow of pedestrian traffic around it, in order to aid it in navigation.
The implementation is coded in C++, and the computations are performed in real-time.