Calc Mask Spans on Given Lines¶
Function¶
This Step draws 2D lines from 3D poses. If the projected point of a pose falls inside the corresponding mask, this Step will calculate the distance between the two intersection points of the line with the farthest edges of the mask. Otherwise, this Step will consider the calculated distance invalid and set it to 0.
Usage Scenario¶
This Step is typically used to calculate mask spans.
Input and Output¶
Input:
Poses input to this port will be projected to the corresponding 2D masks.
Masks input at this port will have their spans along specified lines calculated.
Output:
Spans of masks on the specified lines.