|
IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
|
A basic detector class that processes a layered image (or mask and image) detection output. More...


Public Member Functions | |
| def | __init__ (self, theParams=ParamPuzzle) |
| Constructor for the puzzle piece layer parsing class. More... | |
| def | findCorrectedContours (self, mask, FILTER=True) |
| Find the right contours given a binary mask image. More... | |
| def | getState (self) |
| def | measure (self, I, M) |
| Process the passed imagery to recover puzzle pieces and manage their track states. More... | |
| def | process (self, I, M) |
| Run the tracking pipeline for image measurement. More... | |
Public Attributes | |
| bMeas | |
| haveMeas | |
| params | |
| pieceConstructor | |
| tpt | |
A basic detector class that processes a layered image (or mask and image) detection output.
Converts all isolated regions into their own puzzle piece instances.
| def __init__ | ( | self, | |
theParams = ParamPuzzle |
|||
| ) |
Constructor for the puzzle piece layer parsing class.
Args: theParams: The parameters.
| def findCorrectedContours | ( | self, | |
| mask, | |||
FILTER = True |
|||
| ) |
Find the right contours given a binary mask image.
Args: mask: The input binary mask image.
Returns: desired_cnts: Contour list.
| def getState | ( | self | ) |
@brief Return the track-pointer state. Override the original one.
Returns:
tstate: The board measurement.
| def measure | ( | self, | |
| I, | |||
| M | |||
| ) |
Process the passed imagery to recover puzzle pieces and manage their track states.
| [in] | I | RGB image. |
| [in] | M | Mask image. |
| def process | ( | self, | |
| I, | |||
| M | |||
| ) |
Run the tracking pipeline for image measurement.
| [in] | I | RGB image. |
| [in] | M | Mask image. |
| bMeas |
| haveMeas |
| params |
| pieceConstructor |
| tpt |