Swarm-SLAM  1.0.0
C-SLAM Framework
netvlad.NetVLAD Class Reference
Inheritance diagram for netvlad.NetVLAD:
[legend]

Public Member Functions

def __init__ (self, params, node)
 
def compute_embedding (self, keyframe)
 

Public Attributes

 params
 
 node
 
 enable
 
 device
 
 model
 
 isParallel
 
 transform
 
 pca
 

Detailed Description

NetVLAD matcher

Definition at line 133 of file netvlad.py.

Constructor & Destructor Documentation

◆ __init__()

def netvlad.NetVLAD.__init__ (   self,
  params,
  node 
)
Initialization

Args:
    params (dict): parameters

Definition at line 137 of file netvlad.py.

Member Function Documentation

◆ compute_embedding()

def netvlad.NetVLAD.compute_embedding (   self,
  keyframe 
)
Load image to device and extract the global image descriptor

Args:
    keyframe (image): image to match

Returns:
    np.array: global image descriptor

Definition at line 212 of file netvlad.py.

Member Data Documentation

◆ device

netvlad.NetVLAD.device

Definition at line 158 of file netvlad.py.

◆ enable

netvlad.NetVLAD.enable

Definition at line 146 of file netvlad.py.

◆ isParallel

netvlad.NetVLAD.isParallel

Definition at line 179 of file netvlad.py.

◆ model

netvlad.NetVLAD.model

Definition at line 172 of file netvlad.py.

◆ node

netvlad.NetVLAD.node

Definition at line 144 of file netvlad.py.

◆ params

netvlad.NetVLAD.params

Definition at line 143 of file netvlad.py.

◆ pca

netvlad.NetVLAD.pca

Definition at line 209 of file netvlad.py.

◆ transform

netvlad.NetVLAD.transform

Definition at line 202 of file netvlad.py.


The documentation for this class was generated from the following file: