mirror of https://github.com/vladmandic/human
updated readme
parent
7c993608b2
commit
f93f2aa88d
14
README.md
14
README.md
|
@ -25,11 +25,9 @@ This is an amalgamation of multiple existing models:
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
There are several ways to use `Human` library:
|
|
||||||
|
|
||||||
**Important**
|
**Important**
|
||||||
*This version of `Human` includes `TensorFlow/JS (TFJS) 2.6.0` library which can be accessed via `human.tf`*
|
*The packaged (IIFE and ESM) version of `Human` includes `TensorFlow/JS (TFJS) 2.6.0` library which can be accessed via `human.tf`*
|
||||||
*You should not manually load another instance of `tfjs`, but if you do, be aware of possible version conflicts*
|
*You should NOT manually load another instance of `tfjs`, but if you do, be aware of possible version conflicts*
|
||||||
|
|
||||||
There are multiple ways to use `Human` library, pick one that suits you:
|
There are multiple ways to use `Human` library, pick one that suits you:
|
||||||
|
|
||||||
|
@ -71,12 +69,14 @@ Script is distributed in minified form with attached sourcemap
|
||||||
|
|
||||||
### 3. NPM module
|
### 3. NPM module
|
||||||
|
|
||||||
Simmilar to ESM module, but with full sources as it points to actual sources entry point `build/src/index.js` instead
|
Recommended for `NodeJS` projects
|
||||||
Recommended for `NodeJS` projects
|
|
||||||
|
Entry point is actual source `build/src/index.js`
|
||||||
|
You also need to install and includ `tfjs` in your project
|
||||||
|
|
||||||
Install with:
|
Install with:
|
||||||
```shell
|
```shell
|
||||||
npm install @tensorflow/tfjs @vladmandic/Human
|
npm install @tensorflow/tfjs @vladmandic/human
|
||||||
```
|
```
|
||||||
And then use with:
|
And then use with:
|
||||||
```js
|
```js
|
||||||
|
|
Loading…
Reference in New Issue