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

Activity detection based on lying in specific planar regions. More...

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

Public Member Functions

def __init__ (self)
 Instantiate a detector Base activity class object. More...
 
def adapt (self)
 Adapt detection model, if implemented. More...
 
def correct (self)
 Correct detection state estimate, if implemented. More...
 
def measure (self, signal)
 Generate detection outcome from state signal. More...
 
def predict (self)
 Predict detection state outcome, if implemented. More...
 
def process (self, signal)
 
- Public Member Functions inherited from fromState
def __init__ (self, processor=None)
 Constructor for fromState instance. More...
 
def detect (self, x)
 Perform detection only, which basically keeps the model static if it would normally update. More...
 
def getState (self)
 Get the current detection state estimate. More...
 
def saveTo (self, fPtr)
 Save configuration or other data to HDF5 file. More...
 
- Public Member Functions inherited from Base
def emptyDebug (self)
 Return empty debug state information. More...
 
def emptyState (self)
 Return empty state. More...
 
def getDebug (self)
 Return current/latest debug state information. More...
 
def save (self, fileName)
 Outer method for saving to a file given as a string. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Base
def load (fileName, relpath=None)
 Outer method for loading file given as a string (with path). More...
 
def loadFrom (fPtr)
 Empty method for loading internal information from HDF5 file. More...
 
- Public Attributes inherited from fromState
 processor
 Pre-processor or similar. More...
 
 z
 The detection outcome. More...
 
- Public Attributes inherited from Base
 x
 Detection state. More...
 

Detailed Description

Activity detection based on lying in specific planar regions.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Instantiate a detector Base activity class object.

Reimplemented from Base.

Member Function Documentation

◆ adapt()

def adapt (   self)

Adapt detection model, if implemented.

Default implementation is no adaptation.

Reimplemented from fromState.

◆ correct()

def correct (   self)

Correct detection state estimate, if implemented.

Default implementation is to do nothing. Roll with measurement.

Reimplemented from fromState.

◆ measure()

def measure (   self,
  x 
)

Generate detection outcome from state signal.

Parameters
[in]xExternal signal to detect with.

Reimplemented from fromState.

◆ predict()

def predict (   self)

Predict detection state outcome, if implemented.

Default implementation is to do nothing. State not updated.

Reimplemented from fromState.

◆ process()

def process (   self,
  signal 
)
@brief  Process the new income signal. Check if in a region of interest.

Reimplemented from fromState.


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