O'Reilly logo

Visual Media Processing Using MATLAB Beginner's Guide by George Siogkas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – tracking people with Horn-Schunck optical flow

First, we are going to demonstrate the method described by Horn and Schunck. A good example of its usage can be found if you type vision.OpticalFlow System object in the search box on the top-right corner of your MATLAB window. The help page for the object includes an example based on the viptraffic.avi video. In this example, we will show some alternative steps for the same process, using a different video as input.

Since we will be using the Computer Vision System Toolbox for the optical flow algorithms, we might as well use another one of the videos included in its demos. The video is called atrium.avi and shows several people walking in an atrium in arbitrary trajectories. Our ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required