2 Approach
2.1 Overview
In order to accomplish this goal, it was necessary to break this down into smaller pieces. Thecurrent implementation is based on the idea of background subtraction. Given a background,we are able to determine the difference from the current frame and the background to find theforeground. The foreground should be all of the objects that are worth investigation. Witha given foreground, the next step would be to segment it into regions of interest referred toas blobs. Then, with a set of blobs, track the motion from frame to frame, matching theseblobs across a series of frames.
2.2 Implementation
The implementation of this system followed the same process as described in the overview.Each part is a separate algorithm, however all work together to produce the results given.It may be possible to replace a subsection without any effect on any of the other subsectionsand in that way are somewhat independent and could be researched independently.
2.2.1 Background Detection
The first operation was to determine the background for every frame. A very simple approachwas tested at first. That implementation was as simple as just taking the average value of aseries of frames as the background as in:
B
=
k
n
=1
F
n
k
where
B
is the found background,
k
is the number of frames to be analyzed and
F
n
isthe
n
th
frame. This assumes that the background fills the frame a majority of the time,2
Add a Comment