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
modelstringBinary file contains trained weights.
configstringText file contains network configuration.
SegmentationModel(Net)
Create model from deep learning network.
public SegmentationModel(Net network)
Parameters
networkNetNet object.