Skip to main content

Skeleton Keypoint Relationship

The Skeleton Keypoint Relationship node determines the body's posture by calculating the relationship between the selected body keypoint and skeleton.

Input

NameData TypeDescription
EnterExecTriggers the execution of this node
KeypointStringThe body keypoint to use. Connect this to a Selected Keypoint Info node.
SkeletonArrayThe skeleton to use. Connect this to a Custom Skeleton Info node.
RelationshipStringThe type relationship to detect. Distance represents the perpendicular distance from the keypoint to the skeleton. Projection Ratio represents the relative position of the keypoint on the skeleton. If the ratio is between 0 and 1, the keypoint lies on the skeleton itself. If it's outside this range, the keypoint is located outside.

Output

NameData TypeDescription
RelationshipStringThe relationship of the keypoint and skeleton based on the specified relationship type