mirror of https://github.com/vladmandic/human
typos
parent
c8ca9cc9ec
commit
1063f46c22
|
@ -40,7 +40,7 @@ Most of configuration options are exposed in the `demo` application UI:
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
Configurtion object is large, but typically you only need to modify few values:
|
Configuration object is large, but typically you only need to modify few values:
|
||||||
|
|
||||||
- `enabled`: Choose which models to use
|
- `enabled`: Choose which models to use
|
||||||
- `baseModelPath`: Update as needed to reflect your application's relative path
|
- `baseModelPath`: Update as needed to reflect your application's relative path
|
||||||
|
@ -49,7 +49,7 @@ for example,
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const myConfig = {
|
const myConfig = {
|
||||||
baseModelPath: `https://cdn.jsdelivr.net/npm/@vladmandic/human@2.3.5/dist/human.esm.min.js`,
|
baseModelPath: `https://cdn.jsdelivr.net/npm/@vladmandic/human/models/`,
|
||||||
segmentation: { enabled: true },
|
segmentation: { enabled: true },
|
||||||
}
|
}
|
||||||
const human = new Human(myConfig);
|
const human = new Human(myConfig);
|
||||||
|
|
Loading…
Reference in New Issue