Table of Contents

Method CreateFromMemory

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

CreateFromMemory(ReadOnlySpan<byte>, ReadOnlySpan<byte>)

Loads the detector and super-resolution ONNX models from memory.

public static WeChatQRCode CreateFromMemory(ReadOnlySpan<byte> detectorModel, ReadOnlySpan<byte> superResolutionModel)

Parameters

detectorModel ReadOnlySpan<byte>

Buffer containing the detector model.

superResolutionModel ReadOnlySpan<byte>

Buffer containing the super-resolution model.

Returns

WeChatQRCode

A detector using both models.