multi-batch support subs
This commit is contained in:
@@ -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"}),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user