|
OpenCV for Unity 3.0.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
|
DISK feature detector and descriptor, based on a DNN model. More...
Public Member Functions | |
| override string | getDefaultName () |
| Size | getImageSize () |
| double double height | getImageSizeAsValueTuple () |
| Vec2d | getImageSizeAsVec2d () |
| int | getMaxKeypoints () |
| float | getScoreThreshold () |
| void | setImageSize (in Vec2d size) |
| void | setImageSize (in(double width, double height) size) |
| void | setImageSize (Size size) |
| void | setMaxKeypoints (int maxKeypoints) |
| void | setScoreThreshold (float threshold) |
Public Member Functions inherited from OpenCVForUnity.FeaturesModule.Feature2D | |
| void | compute (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > descriptors) |
| void | compute (Mat image, MatOfKeyPoint keypoints, Mat descriptors) |
| Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). | |
| int | defaultNorm () |
| int | descriptorSize () |
| int | descriptorType () |
| void | detect (List< Mat > images, List< MatOfKeyPoint > keypoints) |
| void | detect (List< Mat > images, List< MatOfKeyPoint > keypoints, List< Mat > masks) |
| void | detect (Mat image, MatOfKeyPoint keypoints) |
| Detects keypoints in an image (first variant) or image set (second variant). | |
| void | detect (Mat image, MatOfKeyPoint keypoints, Mat mask) |
| Detects keypoints in an image (first variant) or image set (second variant). | |
| void | detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors) |
| void | detectAndCompute (Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors, bool useProvidedKeypoints) |
| override bool | empty () |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
| override string | getDefaultName () |
| void | read (string fileName) |
| void | write (string fileName) |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
| virtual void | clear () |
| Clears the algorithm state. | |
| IntPtr | getNativeObjAddr () |
| void | save (string filename) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| void | Dispose () |
| Releases resources used by this object. | |
| void | ThrowIfDisposed () |
| Throws ObjectDisposedException if this object has been disposed. | |
Static Public Member Functions | |
| static new DISK | __fromPtr__ (IntPtr addr) |
| static DISK | create (string modelPath) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, in Vec2d imageSize) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, in Vec2d imageSize, int backendId) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, in Vec2d imageSize, int backendId, int targetId) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, in(double width, double height) imageSize) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, in(double width, double height) imageSize, int backendId) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, in(double width, double height) imageSize, int backendId, int targetId) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, Size imageSize) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, Size imageSize, int backendId) |
| Creates a DISK detector. | |
| static DISK | create (string modelPath, int maxKeypoints, float scoreThreshold, Size imageSize, int backendId, int targetId) |
| Creates a DISK detector. | |
| static DISK | createFromMemory (MatOfByte bufferModel) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, in Vec2d imageSize) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, in Vec2d imageSize, int backendId) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, in Vec2d imageSize, int backendId, int targetId) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, in(double width, double height) imageSize) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, in(double width, double height) imageSize, int backendId) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, in(double width, double height) imageSize, int backendId, int targetId) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, Size imageSize) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, Size imageSize, int backendId) |
| Creates a DISK detector from an in-memory model buffer. | |
| static DISK | createFromMemory (MatOfByte bufferModel, int maxKeypoints, float scoreThreshold, Size imageSize, int backendId, int targetId) |
| Creates a DISK detector from an in-memory model buffer. | |
Static Public Member Functions inherited from OpenCVForUnity.FeaturesModule.Feature2D | |
| static new Feature2D | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
| static Algorithm | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
| Returns the native pointer, or throws CoreModule.CvException if it is zero. | |
Public Attributes | |
| double | width |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.FeaturesModule.Feature2D | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
| DisposableOpenCVObject () | |
| Initializes a new instance with a zero native pointer and dispose enabled. | |
| DisposableOpenCVObject (bool isEnabledDispose) | |
| Initializes a new instance with a zero native pointer. | |
| DisposableOpenCVObject (IntPtr ptr) | |
| Initializes a new instance with the specified native pointer and dispose enabled. | |
| DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
| Initializes a new instance with the specified native pointer. | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
| DisposableObject () | |
| Initializes a new instance with dispose enabled. | |
| DisposableObject (bool isEnabledDispose) | |
| Initializes a new instance. | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.FeaturesModule.Feature2D | |
Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
| bool | IsDisposed [get, protected set] |
| bool | IsEnabledDispose [get, set] |
DISK feature detector and descriptor, based on a DNN model.
DISK (Deep Image Structure and Keypoints) is a learned local-feature pipeline that produces keypoints and 128-D L2-normalized descriptors via a single forward pass through a fully convolutional network. This class wraps an ONNX export of the pre-trained DISK model through cv::dnn::Net and exposes it under the standard cv::Feature2D interface so it can be used as a drop-in alternative to SIFT/ORB.
The class assumes the ONNX model has a single input named image taking an N×3×H×W float32 tensor in [0, 1] (RGB channel order) and three outputs named keypoints (N×2), scores (N) and descriptors (N×128).
|
static |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector.
| modelPath | Path to the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
static |
Creates a DISK detector from an in-memory model buffer.
This overload loads the DISK ONNX model from a buffer instead of a file on disk. It is intended for cases where the model is read from application resources (for example Android assets) and is not available as a path on the filesystem.
| bufferModel | A buffer containing the contents of the DISK ONNX model. |
| maxKeypoints | Maximum number of keypoints to return per image. The strongest responses (by network score) are kept; -1 keeps all detections. |
| scoreThreshold | Discard keypoints with network score strictly below this value. |
| imageSize | Target input size (width, height) fed to the network. Use Size() (the default) to fall back to the network's expected fixed input shape of 1024x1024. When overriding, both dimensions must be positive multiples of 16, since DISK downsamples by a factor of 16. |
| backendId | DNN backend identifier (see cv::dnn::Backend); 0 = DNN_BACKEND_DEFAULT. |
| targetId | DNN target identifier (see cv::dnn::Target); 0 = DNN_TARGET_CPU. |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
|
virtual |
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
| Size OpenCVForUnity.FeaturesModule.DISK.getImageSize | ( | ) |
| double double height OpenCVForUnity.FeaturesModule.DISK.getImageSizeAsValueTuple | ( | ) |
| Vec2d OpenCVForUnity.FeaturesModule.DISK.getImageSizeAsVec2d | ( | ) |
| int OpenCVForUnity.FeaturesModule.DISK.getMaxKeypoints | ( | ) |
| float OpenCVForUnity.FeaturesModule.DISK.getScoreThreshold | ( | ) |
| void OpenCVForUnity.FeaturesModule.DISK.setImageSize | ( | in Vec2d | size | ) |
| void OpenCVForUnity.FeaturesModule.DISK.setImageSize | ( | in(double width, double height) | size | ) |
| void OpenCVForUnity.FeaturesModule.DISK.setImageSize | ( | Size | size | ) |
| void OpenCVForUnity.FeaturesModule.DISK.setMaxKeypoints | ( | int | maxKeypoints | ) |
| void OpenCVForUnity.FeaturesModule.DISK.setScoreThreshold | ( | float | threshold | ) |
| double OpenCVForUnity.FeaturesModule.DISK.width |