Table of Contents

Constructor SegmentationModel

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

SegmentationModel(string, string?)

Create segmentation model from network represented in one of the supported formats. An order of @p model and @p config arguments does not matter.

public SegmentationModel(string model, string? config = null)

Parameters

model string

Binary file contains trained weights.

config string

Text file contains network configuration.

SegmentationModel(Net)

Create model from deep learning network.

public SegmentationModel(Net network)

Parameters

network Net

Net object.