C# Class Accord.Vision.Tracking.MatchingTracker

Template matching object tracker.
The matching tracker will track the object presented in the search window of the first frame given to the tracker. To reset the tracker and start tracking another object, one can call the Reset method, then set the search window around a new object of interest present the image containing the new object to the tracker.
Inheritance: IObjectTracker
Show file Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
MatchingTracker ( ) : System.Drawing

Constructs a new MatchingTracker object tracker.

ProcessFrame ( UnmanagedImage frame ) : void

Process a new video frame.

Reset ( ) : void

Resets this instance.

Private Methods

Method Description
checkSteadiness ( TemplateMatch match ) : bool
match ( UnmanagedImage frame ) : TemplateMatch
registerTemplate ( UnmanagedImage frame, Rectangle window ) : void
track ( UnmanagedImage frame ) : void
updateObject ( Rectangle window ) : void

Method Details

MatchingTracker() public method

Constructs a new MatchingTracker object tracker.
public MatchingTracker ( ) : System.Drawing
return System.Drawing

ProcessFrame() public method

Process a new video frame.
public ProcessFrame ( UnmanagedImage frame ) : void
frame Accord.Imaging.UnmanagedImage
return void

Reset() public method

Resets this instance.
public Reset ( ) : void
return void