Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: "SAM3 Text-Prompt Segmentation Endpoint"
|
| 3 |
+
pipeline_tag: "image-segmentation"
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- segmentation
|
| 7 |
+
- sam3
|
| 8 |
+
- computer-vision
|
| 9 |
+
- instance-segmentation
|
| 10 |
+
- text-prompt
|
| 11 |
+
inference: true
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# SAM 3
|
| 15 |
+
|
| 16 |
+
## Input
|
| 17 |
+
|
| 18 |
+
```json
|
| 19 |
+
{
|
| 20 |
+
"inputs": "<image_base64_or_url>",
|
| 21 |
+
"parameters": {
|
| 22 |
+
"classes": ["pothole", "marking"]
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
## Output
|
| 29 |
+
|
| 30 |
+
```json
|
| 31 |
+
[
|
| 32 |
+
{
|
| 33 |
+
"label": "pothole",
|
| 34 |
+
"mask": "<base64_png>",
|
| 35 |
+
"score": 1.0
|
| 36 |
+
}
|
| 37 |
+
]
|
| 38 |
+
|
| 39 |
+
```
|