Table of Contents

Constructor DetectionModel

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

DetectionModel(string, string?)

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

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

Parameters

model string

Binary file contains trained weights.

config string

Text file contains network configuration.

DetectionModel(Net)

Create model from deep learning network.

public DetectionModel(Net network)

Parameters

network Net

Net object.