Table of Contents

Method AddTemplate

Namespace
OpenCvSharp.Rgbd
Assembly
OpenCvSharp.dll

AddTemplate(IEnumerable<Mat>, string, Mat, out Rect)

Extracts and registers a new object template.

public int AddTemplate(IEnumerable<Mat> sources, string classId, Mat objectMask, out Rect boundingBox)

Parameters

sources IEnumerable<Mat>
classId string
objectMask Mat
boundingBox Rect

Returns

int