casia-iva-lab/fastsam 🔢✓📝❓🖼️ → 🖼️
About
Fast Segment Anything
Example Output
Output
Performance Metrics
5.04s
Prediction Time
5.00s
Total Time
All Input Parameters
{
"iou": 0.9,
"conf": 0.4,
"retina": true,
"box_prompt": "[0,0,0,0]",
"image_size": 640,
"model_name": "FastSAM-x",
"input_image": "https://replicate.delivery/pbxt/J45o004GBhb0mvUJgqQlaMM7lmHkdcOF5e1FV2yFFXttNbCH/download.jpeg",
"point_label": "[0]",
"point_prompt": "[[0,0]]",
"withContours": true
}
Input Parameters
- iou
- iou threshold for filtering the annotations
- conf
- object confidence threshold
- retina
- draw high-resolution segmentation masks
- box_prompt
- [x,y,w,h]
- image_size
- Choose image size
- model_name
- choose a model
- input_image (required)
- Input image
- point_label
- [1,0] 0:background, 1:foreground
- text_prompt
- use text prompt eg: "a black dog"
- point_prompt
- [[x1,y1],[x2,y2]]
- withContours
- draw the edges of the masks
- better_quality
- better quality using morphologyEx
Output Schema
Output
Example Execution Logs
image 1/1 /tmp/tmpbn30lvdudownload.jpeg: 448x640 90 objects, 89.9ms Speed: 4.1ms preprocess, 89.9ms inference, 50.3ms postprocess per image at shape (1, 3, 640, 640)
Version Details
- Version ID
371aeee1ce0c5efd25bbef7a4527ec9e59188b963ebae1eeb851ddc145685c17- Version Created
- June 30, 2023