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

Public Member Functions

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

Public Attributes

 params
 
 node
 
 enable
 
 device
 
 descriptor_dim
 
 model
 
 transform
 

Detailed Description

CosPlace matcher

Definition at line 29 of file cosplace.py.

Constructor & Destructor Documentation

◆ __init__()

def cosplace.CosPlace.__init__ (   self,
  params,
  node 
)
Initialization

Args:
    params (dict): parameters

Definition at line 33 of file cosplace.py.

Member Function Documentation

◆ compute_embedding()

def cosplace.CosPlace.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 81 of file cosplace.py.

Member Data Documentation

◆ descriptor_dim

cosplace.CosPlace.descriptor_dim

Definition at line 54 of file cosplace.py.

◆ device

cosplace.CosPlace.device

Definition at line 50 of file cosplace.py.

◆ enable

cosplace.CosPlace.enable

Definition at line 42 of file cosplace.py.

◆ model

cosplace.CosPlace.model

Definition at line 56 of file cosplace.py.

◆ node

cosplace.CosPlace.node

Definition at line 40 of file cosplace.py.

◆ params

cosplace.CosPlace.params

Definition at line 39 of file cosplace.py.

◆ transform

cosplace.CosPlace.transform

Definition at line 73 of file cosplace.py.


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