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
outputNamestringName to register the output under.
layerIdintId of the producing layer.
outputPortintOutput port of the producing layer.
Returns
- int
The index of the registered output.