You're looking at a specific version of this model. Jump to the model overview.

casia-iva-lab /fastsam:371aeee1

Input

input_image
*file

Input image

string

choose a model

Default: "FastSAM-x"

integer

Choose image size

Default: 640

number

iou threshold for filtering the annotations

Default: 0.7

string
Shift + Return to add a new line

use text prompt eg: "a black dog"

number

object confidence threshold

Default: 0.25

boolean

draw high-resolution segmentation masks

Default: true

string
Shift + Return to add a new line

[x,y,w,h]

Default: "[0,0,0,0]"

string
Shift + Return to add a new line

[[x1,y1],[x2,y2]]

Default: "[[0,0]]"

string
Shift + Return to add a new line

[1,0] 0:background, 1:foreground

Default: "[0]"

boolean

draw the edges of the masks

Default: false

boolean

better quality using morphologyEx

Default: false

Output

output
Generated in