Description: This example shows how to perform automatic detection and motion-based
tracking of moving objects in a video a stationary camera.
Copyright 2014 The MathWorks, Inc.
Detection of moving objects and motion-based tracking are important
components of many computer vision applications, including activity
recognition, traffic monitoring, and automotive safety. The problem of
motion-based object tracking can be divided into two parts:
# detecting moving objects in each frame
# associating the detections corresponding to the same object over time
The detection of moving objects uses a background subtraction algorithm
based on Gaussian mixture models. Morphological operations are applied to
the resulting foreground mask to eliminate noise. Finally, blob analysis
detects groups of connected pixels, which are likely to correspond to
moving objects.
The association of detections to the same object is based solely on
motion. The mo
To Search:
File list (Check if you may need any files):
Untitled2.m