IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
Layered track pointer part of puzzle scene perceiver grouping. More...
Public Member Functions | |
def | __init__ (self, iState=None, trackCfg=None) |
Constructor for layered puzzle scene tracker. More... | |
def | adapt (self) |
Adapt the layer detection models. More... | |
def | correct (self) |
Apply correction process to the individual detectors. More... | |
def | display_cv (self, I, ratio=None, window_name="trackpoints") |
def | emptyDebug (self) |
def | emptyState (self) |
Get and empty state to recover its basic structure. More... | |
def | getDebug (self) |
def | getState (self) |
Get the complete detector state, which involves the states of the individual layer detectors. More... | |
def | info (self) |
def | measure (self, I) |
Apply detection to the source image pass. More... | |
def | predict (self) |
Generate prediction of expected measurement. More... | |
def | process (self, I) |
Apply entire predict to adapt process to source image(s). More... | |
Public Attributes | |
glove | |
pieces | |
Layered track pointer part of puzzle scene perceiver grouping.
Layered trackpointers based on layered detector output. One for glove and one for pieces. The arm is not tracked since there should be no need to do so as its status is known from forward kinematics on joint measurements.
def __init__ | ( | self, | |
iState = None , |
|||
trackCfg = None |
|||
) |
Constructor for layered puzzle scene tracker.
[in] | iState | Initial state of tracks. |
[in] | trackCfg | Trackpointer(s) configuration. |
def adapt | ( | self | ) |
Adapt the layer detection models.
There is no adaptation.
def correct | ( | self | ) |
Apply correction process to the individual detectors.
Apply naive correction on a per detector basis. As a layered system, there might be interdependencies that would impact the correction step. Ignoring that for now since it does not immediately come to mind what needs to be done.
def display_cv | ( | self, | |
I, | |||
ratio = None , |
|||
window_name = "trackpoints" |
|||
) |
def emptyDebug | ( | self | ) |
def emptyState | ( | self | ) |
Get and empty state to recover its basic structure.
[out] | estate | The empty state. |
def getDebug | ( | self | ) |
def getState | ( | self | ) |
Get the complete detector state, which involves the states of the individual layer detectors.
[out] | state | The detector state for each layer, by layer. |
def info | ( | self | ) |
def measure | ( | self, | |
I | |||
) |
Apply detection to the source image pass.
[in] | I | Layered detection image instance (structure/dataclass). |
def predict | ( | self | ) |
Generate prediction of expected measurement.
The detectors are mostly going to be static models, which means that prediction does nothing. Just in case though, the prediction methods are called for them.
def process | ( | self, | |
I | |||
) |
Apply entire predict to adapt process to source image(s).
[in] | I | Layered detection image instance (structure/dataclass). |
glove |
pieces |