Table of Contents

Method RegisterOutput

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

RegisterOutput(string, int, int)

Registers a network output by name (new DNN engine, OpenCV 5).

public int RegisterOutput(string outputName, int layerId, int outputPort)

Parameters

outputName string

Name to register the output under.

layerId int

Id of the producing layer.

outputPort int

Output port of the producing layer.

Returns

int

The index of the registered output.