-
Notifications
You must be signed in to change notification settings - Fork 33
AddDescriptorSet
A DescriptorSet is a group of descriptors with a fixed dimensionality that are the result of the same algorithm for feature extraction. For instance, we can create a DescriptorSet and insert multiple descriptors obtained by using OpenFace (128 dimensions), and then index and perfom matching operations over those descriptors.
This command always conditionally adds a new DescriptorSet with a given name, i.e., will only add a new DescriptorSet if and only if that set does not exist.
This command expects the dimensionality to be specified to create the apropiate structures on the system and to chech later that added descriptors are of the same dimensionality.
This command optionally allows the user to specify the metric that will be used for indexing and matching operations, as well as the underlying engine.
Properties can be added to the DescriptorSet , as well as link block can be used to specify relationships in a similar way AddImage supports.
Link block can be used for creating connections between the inserted object ( Image, Entity, etc) and other, previosly referenced, object.
- name: name of the set.
- dimensions: number of dimensions of the feature vector
- [optional] engine: underlying implementation for storing and computing distances (TileDBSparse by Default)
-
- TileDBDense, TileDBSparse, FaissFlat, FaissIVFlat
- [optional] _ref: for reference.
- [optional] metric: method used to calculate distances (L2 by default)
-
- "L2" (euclidean distance), "IP" (inner product)
- [optional] approximate: Allow approximate search
-
- "True", "False"
- [optional] properties
- [optional] link
Visual Data Management System - Intel Labs
FLINNG Library and Performance
Basic Building Blocks
Insert
- AddBlob
- AddBoundingBox
- AddConnection
- AddDescriptor
- AddDescriptorSet
- AddEntity
- AddImage
- AddVideo
- NeoAdd
Query
- ClassifyDescriptor
- FindBlob
- FindBoundingBox
- FindConnection
- FindDescriptor
- FindDescriptorSet
- FindEntity
- FindFrames
- FindImage
- FindVideo
- NeoFind
Update