IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
Puzzle monitor that examines hand/glove state and puzzle state, or equivalent information as measured by a perceiver. More...
Public Member Functions | |
def | __init__ (self, theParams, thePerceiver, theActivity, theReporter=None) |
Constructor for the perceiver.monitor class. More... | |
def | free (self) |
Destructor. More... | |
def | info (self) |
Return the information structure used for saving or otherwise determining the tracker setup for reproducibility. More... | |
def | measure (self, I) |
Run activity detection process to generate activity state measurement. More... | |
def | process (self, I) |
Run perceive + activity recognize pipeline for one step/image measurement. More... | |
![]() | |
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 | displayDebug (self, dbState=None) |
Display the debug state. More... | |
def | displayState (self, dState=None) |
Display the perceiver state and activity state per configuration specification. More... | |
def | emptyState (self) |
Returns an empty activity state structure. More... | |
def | getState (self) |
Returns the current activity state structure. More... | |
def | predict (self) |
Predict next measurement, if applicable. More... | |
def | setState (self, nstate) |
Sets the state of the tracker. More... | |
Additional Inherited Members | |
![]() | |
activity | |
Activity detection/recognition instance. More... | |
params | |
perceiver | |
Perceiver instance. More... | |
reporter | |
Takes activity outcomes and creates report out. More... | |
Puzzle monitor that examines hand/glove state and puzzle state, or equivalent information as measured by a perceiver.
A generic sub-class of Monitor intended to demonstrate how to implement with a richer output signal due to the layers. It might serve well for a diverse set of implementations as the role of the monitor may be to shepherd information around. Some cases of specialized processing may require creating a sub-class.
def __init__ | ( | self, | |
theParams, | |||
thePerceiver, | |||
theActivity, | |||
theReporter = None |
|||
) |
Constructor for the perceiver.monitor class.
[in] | theParams | Option set of paramters. |
[in] | thePerceiver | Perceiver instance (or possibly not). |
[in] | theActivity | Activity detector/recognizer. |
[in] | theReporter | Reporting mechanism for activity outputs. |
Reimplemented from Monitor.
def free | ( | self | ) |
def info | ( | self | ) |
Return the information structure used for saving or otherwise determining the tracker setup for reproducibility.
[out] | tinfo | The tracking configuration information structure. |
Reimplemented from Monitor.
def measure | ( | self, | |
I | |||
) |
Run activity detection process to generate activity state measurement.
If perceiver has no measurement/observation, then does nothing.
[in] | I | Image to process. Depending on implementation, might be optional. |
Reimplemented from Monitor.
def process | ( | self, | |
I | |||
) |
Run perceive + activity recognize pipeline for one step/image measurement.
Reimplemented from Monitor.