|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
Activity detection based on lying in specific planar regions. More...


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... | |
Activity detection based on lying in specific planar regions.
| def __init__ | ( | self | ) |
Instantiate a detector Base activity class object.
Reimplemented from Base.
| def adapt | ( | self | ) |
Adapt detection model, if implemented.
Default implementation is no adaptation.
Reimplemented from fromState.
| def correct | ( | self | ) |
Correct detection state estimate, if implemented.
Default implementation is to do nothing. Roll with measurement.
Reimplemented from fromState.
| def measure | ( | self, | |
| x | |||
| ) |
Generate detection outcome from state signal.
| [in] | x | External signal to detect with. |
Reimplemented from fromState.
| def predict | ( | self | ) |
Predict detection state outcome, if implemented.
Default implementation is to do nothing. State not updated.
Reimplemented from fromState.
| def process | ( | self, | |
| signal | |||
| ) |
@brief Process the new income signal. Check if in a region of interest.
Reimplemented from fromState.