Shape Segmentation
The Shape Segmentation operator finds the overlapping objects and estimates the best possible position based on the foreground mask, as well as information about the objects gathered in the previous frames.
Configuration Parameters
Parameter |
Type |
Description |
---|---|---|
minAge |
int |
Minimum age required for the detected rectangle to be considered as an object (in number of frames). |
maxObjects |
int |
Maximum number of objects in each blob. |
Input
Input |
Type |
Description |
---|---|---|
objectsIn |
python.cv.objects | The list containing the past frame objects information. |
rectsIn |
message.python.image.rectangles |
A list of rectangles that have been detected in the current frame. |
imageIn |
message.python.image |
A matrix containing the current frame. |
Output
Output |
Type |
Description |
---|---|---|
rectsOut |
python.cv.objects | A list of all of the objects detected and segmented in the current frame. |