Instructions to use onnx-community/sam3-tracker-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/sam3-tracker-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('mask-generation', 'onnx-community/sam3-tracker-ONNX');
Update README.md
Browse files
README.md
CHANGED
|
@@ -55,4 +55,7 @@ const scores = outputs.iou_scores;
|
|
| 55 |
// Visualize masks
|
| 56 |
const image = RawImage.fromTensor(masks[0][0].mul(255));
|
| 57 |
image.save("mask.png");
|
| 58 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
// Visualize masks
|
| 56 |
const image = RawImage.fromTensor(masks[0][0].mul(255));
|
| 57 |
image.save("mask.png");
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
|