Table of Contents

Class XFeat

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

ONNX-based feature detector and extractor of 64-dimensional descriptors.

public class XFeat : Feature2D, IDisposable
Inheritance
XFeat
Implements
Inherited Members

Remarks

Requires an OpenCV build with the DNN module.

Properties

InputSize

Image size used as input to the network.

MaxKeypoints

Maximum number of keypoints. Use -1 to keep all detections.

ScoreThreshold

Minimum score that a keypoint must exceed.

Methods

Create(string, int, float, Size?, int, int)

Loads an XFeat ONNX model from a file.

CreateFromMemory(ReadOnlySpan<byte>, int, float, Size?, int, int)

Loads an XFeat ONNX model from memory.