Table of Contents

Method Init

Namespace
OpenCvSharp.Tracking.Legacy
Assembly
OpenCvSharp.dll

Init(Mat, Rect2d)

Initialize the tracker with a known bounding box that surrounded the target.

public bool Init(Mat image, Rect2d boundingBox)

Parameters

image Mat

The initial frame

boundingBox Rect2d

The initial bounding box

Returns

bool

True if initialization went successfully, false otherwise