Keypoint Positional Relationship
The Keypoint Positional Relationship node detects the positional relationship between two body keypoints and triggers different nodes when it matches or doesn't match the specified relationship.
| Name | Data Type | Description |
|---|
| Enter | Exec | Triggers the execution of this node |
| Keypoint 1 | Array | The first keypoint to use |
| Keypoint 2 | Array | The second keypoint to use |
| Relationship | Number | The positional relationship between Keypoint 1 and Keypoint 2: - Point 1 is above Point 2
- Point 1 is below Point 2
- Point 1 is on the left of Point 2
- Point 1 is on the right of Point 2
- Point 1 coincides with Point 2
|
| Detection Threshold | Number | The range condition for position detection |
Output
| Name | Data Type | Description |
|---|
| Match Success | Exec | Executes the next node when the detected relationship matches the specified relationship |
| Match Fail | Exec | Executes the next node when the detected relationship doesn't match the specified relationship |
| Is Matched | Boolean | Returns true if the detected relationship matches the specified relationship, false if not |