Constructor Model
- Namespace
- OpenCvSharp.Dnn
- Assembly
- OpenCvSharp.dll
Model()
For derived classes that construct the native object themselves.
protected Model()
Model(string, string?)
Create model from deep learning network represented in one of the supported formats. An order of @p model and @p config arguments does not matter.
public Model(string model, string? config = null)
Parameters
modelstringBinary file contains trained weights.
configstringText file contains network configuration.
Model(Net)
Create model from deep learning network.
public Model(Net network)
Parameters
networkNetNet object.