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