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
- image
- start_frame
- POINTS
- LABELS
- START_FRAME
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| start_frame | START_FRAME | 0 | Select the starting frame for points input |
| refresh_input | INT | 0 | Change this value to select new points |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| POINTS | POINTS | — |
| LABELS | LABELS | — |
| START_FRAME | START_FRAME | — |