|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
A simple perceiver for recovering puzzle pieces from a layer mask and an image. More...


Public Member Functions | |
| def | __init__ (self, theParams=None, theDetector=None, theTracker=None, theFilter=None) |
| Constructor for the simple puzzler parser. More... | |
| def | correct (self) |
| Preserve temporal consistency of track labels via data association. More... | |
| def | measure (self, I, M=None) |
| Process data from mask layer and image. More... | |
| def | process (self, I, M=None) |
Public Attributes | |
| board | |
| haveObs | |
| haveRun | |
| haveState | |
| I | |
| Mask | |
A simple perceiver for recovering puzzle pieces from a layer mask and an image.
If desired, can do piece association.
Being a perceiver, there is flexibility in the implementation. There will be many ways to instantiate a simple puzzle perceiver.
| def __init__ | ( | self, | |
theParams = None, |
|||
theDetector = None, |
|||
theTracker = None, |
|||
theFilter = None |
|||
| ) |
Constructor for the simple puzzler parser.
| [in] | theParams | Perceiver parameters. |
| [in] | theDetector | Detector instance. |
| [in] | theTracker | Tracker instance. |
| [in] | theFilter | Filter instance (puzzle piece data association). |
| def correct | ( | self | ) |
Preserve temporal consistency of track labels via data association.
| def measure | ( | self, | |
| I, | |||
M = None |
|||
| ) |
Process data from mask layer and image.
| [in] | I | Puzzle image source. |
| [in] | M | Puzzle template mask. |
| def process | ( | self, | |
| I, | |||
M = None |
|||
| ) |
@brief Process the passed imagery. Args: I: The puzzle image source. M: The puzzle template mask.
| board |
| haveObs |
| haveRun |
| haveState |
| I |
| Mask |