Table of Contents

Method ReadModel

Namespace
OpenCvSharp.DnnSuperres
Assembly
OpenCvSharp.dll

ReadModel(string)

Load an ONNX super-resolution model.

public void ReadModel(string path)

Parameters

path string

Path to the model file.

ReadModel(string, string)

Load an ONNX super-resolution model.

[Obsolete("Use ReadModel(string) with an ONNX model.")]
public void ReadModel(string weights, string definition)

Parameters

weights string

Path to the ONNX model.

definition string

Ignored by OpenCV 5.1.