hilongjw
/
img_seg
- Public
- 2 runs
Run hilongjw/img_seg with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
image |
string
|
input image
|
|
imgsz |
integer
|
1280
Max: 2048 |
image size
|
iou |
number
|
0.45
Max: 1 |
iou threshold for filtering the annotations
|
threshold |
number
|
0.6
Max: 1 |
threshold for detection
|
show_conf |
boolean
|
True
|
show_conf
|
show_text |
boolean
|
True
|
show_text
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"iou": {
"type": "number",
"title": "Iou",
"default": 0.45,
"maximum": 1,
"minimum": 0,
"x-order": 2,
"description": "iou threshold for filtering the annotations"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "input image"
},
"imgsz": {
"type": "integer",
"title": "Imgsz",
"default": 1280,
"maximum": 2048,
"minimum": 0,
"x-order": 1,
"description": "image size"
},
"show_conf": {
"type": "boolean",
"title": "Show Conf",
"default": true,
"x-order": 4,
"description": "show_conf"
},
"show_text": {
"type": "boolean",
"title": "Show Text",
"default": true,
"x-order": 5,
"description": "show_text"
},
"threshold": {
"type": "number",
"title": "Threshold",
"default": 0.6,
"maximum": 1,
"minimum": 0,
"x-order": 3,
"description": "threshold for detection"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}