Initialize the tracker with a know bounding box that surrounding the target
Namespace:
OpenCvSharp.Tracking
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic bool Init(
Mat image,
Rect2d boundingBox
)
Public Function Init (
image As Mat,
boundingBox As Rect2d
) As Boolean
public:
bool Init(
Mat^ image,
Rect2d boundingBox
)
member Init :
image : Mat *
boundingBox : Rect2d -> bool
function Init(image, boundingBox);
Parameters
- image
- Type: OpenCvSharpMat
The initial frame - boundingBox
- Type: OpenCvSharpRect2d
The initial boundig box
Return Value
Type:
Boolean
See Also