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.10.1935 (2.4.10.1935)

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
)
F#
member Add : 
        blob : MCvBlob * 
        currentImage : IImage * 
        currentForegroundMask : Image<Gray, byte> -> MCvBlob 

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

Type: MCvBlob
Newly added blob

See Also