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.4.2.1777 (2.4.2.1777)

Syntax

C#
public MCvBlob Add(
	MCvBlob blob,
	IImage currentImage,
	Image<Gray, byte> currentForegroundMask
)
Visual Basic
Public Function Add ( _
	blob As MCvBlob, _
	currentImage As IImage, _
	currentForegroundMask As Image(Of Gray, Byte) _
) As MCvBlob
Visual C++
public:
MCvBlob Add(
	MCvBlob blob, 
	IImage^ currentImage, 
	Image<Gray, unsigned char>^ currentForegroundMask
)

Parameters

blob
Type: Emgu.CV.Structure..::..MCvBlob
Structure with blob parameters (ID is ignored)
currentImage
Type: Emgu.CV..::..IImage
current image
currentForegroundMask
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
Current foreground mask

Return Value

Newly added blob

See Also