IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PuzzleDetectors_v2 Class Reference

Detector based on PuzzleDetectors but incorporates a different glove detection strategy. More...

Inheritance diagram for PuzzleDetectors_v2:
Inheritance graph
[legend]
Collaboration diagram for PuzzleDetectors_v2:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, detCfg=None, detInst=None, processors=None)
 Constructor for layered puzzle scene detector. More...
 
def getState (self)
 Get the complete detector state, which involves the states of the individual layer detectors. More...
 
def measure (self, I)
 Apply detection to the source image pass. More...
 
- Public Member Functions inherited from PuzzleDetectors
def adapt (self)
 Adapt the layer detection models. More...
 
def correct (self)
 Apply correction process to the individual detectors. More...
 
def detect (self, I)
 Apply predict, measure, correct process to source image. More...
 
def emptyDebug (self)
 
def emptyState (self)
 Get and empty state to recover its basic structure. More...
 
def getDebug (self)
 
def info (self)
 
def predict (self)
 Generate prediction of expected measurement. More...
 
def process (self, I)
 Apply entire predict to adapt process to source image. More...
 
def saveTo (self, fPtr)
 Save the instantiated Detector to given HDF5 file. More...
 

Static Public Member Functions

def load (inFile)
 
def loadFrom (fPtr)
 
- Static Public Member Functions inherited from PuzzleDetectors
def buildFromCfg (theConfig)
 Instantiate from stored configuration file (YAML). More...
 
def calibrate2config (theStream, outFile)
 

Public Attributes

 glove
 
 hand
 
 imGlove
 
 imPuzzle
 
 tooHighinMat
 
- Public Attributes inherited from PuzzleDetectors
 depth
 
 glove
 
 hand
 First, perform any specified pre-processing. More...
 
 imGlove
 Package the processed layers started with the glove. More...
 
 imPuzzle
 
 mask
 
 params
 
 workspace
 

Detailed Description

Detector based on PuzzleDetectors but incorporates a different glove detection strategy.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  detCfg = None,
  detInst = None,
  processors = None 
)

Constructor for layered puzzle scene detector.

Parameters
[in]detCfgDetector configuration (from CfgPuzzleScene).
[in]processorsImage processors for the different layers.
[in]detInstDetection instances for the different layers.

Reimplemented from PuzzleDetectors.

Member Function Documentation

◆ getState()

def getState (   self)

Get the complete detector state, which involves the states of the individual layer detectors.

Parameters
[out]stateThe detector state for each layer, by layer.

Reimplemented from PuzzleDetectors.

◆ load()

def load (   inFile)
static

Reimplemented from PuzzleDetectors.

◆ loadFrom()

def loadFrom (   fPtr)
static

Reimplemented from PuzzleDetectors.

◆ measure()

def measure (   self,
  I 
)

Apply detection to the source image pass.

Parameters
[in]IAn RGB-D image (structure/dataclass).

Reimplemented from PuzzleDetectors.

Member Data Documentation

◆ glove

glove

◆ hand

hand

◆ imGlove

imGlove

◆ imPuzzle

imPuzzle

◆ tooHighinMat

tooHighinMat

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