IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | Static Public Member Functions | List of all members
PuzzlePerceiver Class Reference
Inheritance diagram for PuzzlePerceiver:
Inheritance graph
[legend]
Collaboration diagram for PuzzlePerceiver:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, perCfg=None, perInst=None)
 
def adapt (self)
 Adapt parts of the process based on measurements and corrections. More...
 
def correct (self)
 Correct the estimated state based on measured and predicted. More...
 
def display_cv (self, I, ratio=None, window_name="puzzle pieces")
 
def emptyState (self)
 Return state structure with no information. More...
 
def getState (self)
 Returns the current state structure. More...
 
def measure (self, I)
 Recover track point or track frame based on detector + trackPointer output. More...
 
def predict (self)
 Predict next measurement, if applicable. More...
 

Static Public Member Functions

def buildWithBasicTracker (buildConfig)
 Given a stored detector configuration, build out a puzzle perceiver with multi-centroid tracking. More...
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  perCfg = None,
  perInst = None 
)

Member Function Documentation

◆ adapt()

def adapt (   self)

Adapt parts of the process based on measurements and corrections.

◆ buildWithBasicTracker()

def buildWithBasicTracker (   buildConfig)
static

Given a stored detector configuration, build out a puzzle perceiver with multi-centroid tracking.

Most of the configuration can default to standard settings or to hard coded puzzle settings (that should never be changed).

◆ correct()

def correct (   self)

Correct the estimated state based on measured and predicted.

At least if there is a filter defined.

◆ display_cv()

def display_cv (   self,
  I,
  ratio = None,
  window_name = "puzzle pieces" 
)

◆ emptyState()

def emptyState (   self)

Return state structure with no information.

Parameters
[out]estateThe state structure with no content.

◆ getState()

def getState (   self)

Returns the current state structure.

Parameters
cstateThe current state structure.

◆ measure()

def measure (   self,
  I 
)

Recover track point or track frame based on detector + trackPointer output.

◆ predict()

def predict (   self)

Predict next measurement, if applicable.

Method overrides base, which does nothing. This is because the measure function operates differently.

Todo:
Later on, there should be a code review and some unification of code and intent should be done.

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