multi-batch support subs

This commit is contained in:
RyanOnTheInside
2025-04-25 20:23:30 -04:00
parent 0b790f0f16
commit 8edfcad3dc
3 changed files with 3 additions and 0 deletions
@@ -22,6 +22,7 @@ class FaceLandmarkPositionNode(LandmarkPositionBaseNode):
"required": {
"landmarks": (cls.LANDMARKS_TYPE, {"forceInput": True}), # Use the class variable
"landmark_index": ("INT", {"default": 0, "min": 0, "tooltip": FACE_LANDMARK_TOOLTIP}),
"result_index": ("INT", {"default": 0, "min": 0, "tooltip": "Index of the face detection to use (0=first detected face)"}),
}
}
@@ -27,6 +27,7 @@ class HandLandmarkPositionNode(LandmarkPositionBaseNode):
"required": {
"landmarks": (cls.LANDMARKS_TYPE, {"forceInput": True}),
"landmark_index": ("INT", {"default": 8, "min": 0, "max": 20, "tooltip": HAND_LANDMARK_TOOLTIP}),
"result_index": ("INT", {"default": 0, "min": 0, "tooltip": "Index of the hand detection to use (0=first detected hand)"}),
"use_world_coordinates": ("BOOLEAN", {"default": False, "tooltip": "Use world coordinates if available"}),
}
}
@@ -26,6 +26,7 @@ class PoseLandmarkPositionNode(LandmarkPositionBaseNode):
"required": {
"landmarks": (cls.LANDMARKS_TYPE, {"forceInput": True}),
"landmark_index": ("INT", {"default": 0, "min": 0, "max": 32, "tooltip": POSE_LANDMARK_TOOLTIP}),
"result_index": ("INT", {"default": 0, "min": 0, "tooltip": "Index of the pose detection to use (0=first detected pose)"}),
"use_world_coordinates": ("BOOLEAN", {"default": False, "tooltip": "Use world coordinates if available"}),
}
}