Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Solutions Academia Support User Community Company
spacer spacer spacer spacer spacer spacer

 

Video and Image Processing Blockset 2.8

Tracking Cars Using Optical Flow

This demo uses Video and Image Processing Blockset™ blocks to illustrate how to detect and track cars in a video sequence using optical flow estimation.

Contents

Demo Model

The following figure shows the Tracking Cars Using Optical Flow model:

Tracking Cars Using Optical Flow Results

The model uses an optical flow estimation technique to estimate the motion vectors in each frame of the video sequence. By thresholding and performing morphological closing on the motion vectors, the model produces binary feature images. The model locates the cars in each binary feature image using the Blob Analysis block. Then it uses the Draw Shapes block to draw a green rectangle around the cars that pass beneath the white line. The counter in the upper left corner of the Results window tracks the number of cars in the region of interest.

Available Demo Versions

Windows® only: viptrafficof_win.mdl

Platform independent: viptrafficof_all.mdl

Windows-only demo models might contain compressed multimedia files or To Video Display blocks, both of which are only supported on Windows platforms. The To Video Display block supports code generation, and its performance is optimized for Windows.

Contact sales
Free technical kit
Trial software
E-mail this page

Get Pricing and
Licensing Options