Table of Contents

Method ComputeSaliency

Namespace
OpenCvSharp.Saliency
Assembly
OpenCvSharp.dll

ComputeSaliency(InputArray, out Vec4i[])

Computes objectness proposals. The model files must be loaded via SetTrainingPath(string) before calling this method.

public virtual bool ComputeSaliency(InputArray image, out Vec4i[] objectnessBoundingBox)

Parameters

image InputArray

Input image.

objectnessBoundingBox Vec4i[]

Detected objectness bounding boxes, each as (minX, minY, maxX, maxY). Sorted by descending objectness score.

Returns

bool

true if the computation succeeded.