Nodes/SAMURAI Nodes for ComfyUI/SAMURAI Points Input
ComfyUI Node

SAMURAI Points Input

# SAMURAI Points Input Node This node allows you to select points of interest in the first frame of a video sequence for object segmentation. ## Inputs: - **image**: Input video frames sequence (required) - **start_frame**: Starting frame number for processing (default: 0) - **refresh_input**: Trigger to refresh points selection (default: 0) ## Outputs: - **POINTS**: Selected point coordinates for segmentation - **LABELS**: Point labels (positive/negative) - **START_FRAME**: Frame number to start processing from ## Usage: 1. Connect video input 2. Set starting frame number 3. Left click to add positive points (object) 4. Right click to add negative points (background) 5. Points and their labels will be passed to SAMURAI Refine node ## Note: - Positive points (left click) indicate areas that belong to the object - Negative points (right click) indicate areas that belong to the background

By takemetosiberia·Created 2 years ago·Updated 2 years ago· 43
SAMURAI Points Input
  • image
  • start_frame
  • POINTS
  • LABELS
  • START_FRAME
refresh_input0
CategorySAMURAI

Inputs (3)

NameTypeDefaultDescription
imageIMAGE
start_frameSTART_FRAME0Select the starting frame for points input
refresh_inputINT0Change this value to select new points

Outputs (3)

NameTypeDescription
POINTSPOINTS
LABELSLABELS
START_FRAMESTART_FRAME