Update README.md
Browse files
README.md
CHANGED
@@ -5,6 +5,17 @@ tags:
|
|
5 |
---
|
6 |
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
```js
|
9 |
import { AutoModel, AutoProcessor, RawImage } from '@xenova/transformers';
|
10 |
|
@@ -119,4 +130,4 @@ Found person at [348.03, 53.31, 432.29, 526.36] with score 0.328
|
|
119 |
- right_ankle: (365.87, 483.47) with score 0.847
|
120 |
```
|
121 |
|
122 |
-
</detail>
|
|
|
5 |
---
|
6 |
|
7 |
|
8 |
+
https://github.com/open-mmlab/mmpose/tree/main/projects/rtmo with ONNX weights to be compatible with Transformers.js.
|
9 |
+
|
10 |
+
## Usage (Transformers.js)
|
11 |
+
|
12 |
+
If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@xenova/transformers) using:
|
13 |
+
```bash
|
14 |
+
npm i @xenova/transformers
|
15 |
+
```
|
16 |
+
|
17 |
+
**Example:** Perform pose-estimation w/ `Xenova/RTMO-t`.
|
18 |
+
|
19 |
```js
|
20 |
import { AutoModel, AutoProcessor, RawImage } from '@xenova/transformers';
|
21 |
|
|
|
130 |
- right_ankle: (365.87, 483.47) with score 0.847
|
131 |
```
|
132 |
|
133 |
+
</detail>
|