Table of Contents

Method CreateFromMemory

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

CreateFromMemory(byte[], float, int, int)

Creates a LightGlueMatcher from an in-memory ONNX model buffer.

public static LightGlueMatcher CreateFromMemory(byte[] modelData, float scoreThreshold = 0, int backend = 0, int target = 0)

Parameters

modelData byte[]

Buffer containing the model data.

scoreThreshold float

Match confidence threshold.

backend int

DNN backend (see Backend). Default is 0 (DEFAULT).

target int

DNN target (see Target). Default is 0 (CPU).

Returns

LightGlueMatcher