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