Table of Contents

Method SetModel

Namespace
OpenCvSharp.DnnSuperres
Assembly
OpenCvSharp.dll

SetModel(string, int)

Set desired model

public void SetModel(string algo, int scale)

Parameters

algo string

String containing one of the desired models: - edsr - espcn - fsrcnn - lapsrn

scale int

Integer specifying the upscale factor