Method Create
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Create(int, ANNIndexDistance)
Creates an instance of the Annoy index with the given parameters.
public static ANNIndex Create(int dim, ANNIndexDistance distType = ANNIndexDistance.Euclidean)
Parameters
dimintThe dimension of the feature vector.
distTypeANNIndexDistanceMetric used to calculate the distance between two feature vectors.