http://www.emgu.com
Add new blob to track it and assign to this blob personal ID

Namespace: Emgu.CV.VideoSurveillance
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)

Syntax

C#
public static IntPtr CvBlobTrackerAddBlob(
	IntPtr tracker,
	ref MCvBlob blob,
	IntPtr currentImage,
	IntPtr currentForegroundMask
)
Visual Basic
Public Shared Function CvBlobTrackerAddBlob ( _
	tracker As IntPtr, _
	ByRef blob As MCvBlob, _
	currentImage As IntPtr, _
	currentForegroundMask As IntPtr _
) As IntPtr
Visual C++
public:
static IntPtr CvBlobTrackerAddBlob(
	IntPtr tracker, 
	MCvBlob% blob, 
	IntPtr currentImage, 
	IntPtr currentForegroundMask
)

Parameters

tracker
Type: System..::..IntPtr
The tracker
blob
Type: Emgu.CV.Structure..::..MCvBlob%
pointer to structure with blob parameters (ID is ignored)
currentImage
Type: System..::..IntPtr
current image
currentForegroundMask
Type: System..::..IntPtr
current foreground mask

Return Value

Pointer to new added blob

See Also