Class DISK
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
DISK: deep learning based local feature detector and descriptor (OpenCV 5). Runs an ONNX model through the DNN module. Requires OpenCV built with the dnn module.
public class DISK : Feature2D, IDisposable
- Inheritance
-
DISK
- Implements
- Inherited Members
Properties
- ImageSize
Target input size fed to the network.
- MaxKeypoints
Maximum number of keypoints to return per image; -1 keeps all detections.
- ScoreThreshold
Keypoints with network score strictly below this value are discarded.
Methods
- Create(string, int, float, Size, int, int)
Creates a DISK detector from a model file path. On Windows, a non-ASCII path is read into memory and passed through CreateFromMemory(byte[], int, float, Size, int, int) instead, since the native path overload is marshaled through the ANSI code page.
- CreateFromMemory(byte[], int, float, Size, int, int)
Creates a DISK detector from an in-memory ONNX model buffer.