mirror of https://github.com/vladmandic/human
update demo docs
parent
981e14523d
commit
3030450d4a
35
Demos.md
35
Demos.md
|
@ -2,7 +2,22 @@
|
|||
|
||||
Demos are included in `/demo`:
|
||||
|
||||
<br>
|
||||
- `index.html` & `index.js`: [browser]
|
||||
Main browser demo app that showcases all Human capabilities
|
||||
- `facematch.html` & `facematch.js`: [browser]
|
||||
Extracts faces from images, calculates face descriptors calculates simmilarities
|
||||
- `face3d.html` & `face3d.js`: [browser]
|
||||
3D render of face mesh using `Three.js`
|
||||
- `node.js`: [nodejs]
|
||||
Process images from files or URLs
|
||||
- `node-multiprocess` & `node-multiprocess-worker`: [nodejs]
|
||||
Parallel processing in multiple child worker processes
|
||||
- `node-video`: [nodejs]
|
||||
Processing of video input using `ffmpeg`
|
||||
- `node-webcam`: [nodejs]
|
||||
Processing of webcam screenshots using `fswebcam`
|
||||
|
||||
<br><hr><br>
|
||||
|
||||
## Main Demo
|
||||
|
||||
|
@ -95,13 +110,13 @@ For example:
|
|||
|
||||
## Face 3D Rendering using OpenGL
|
||||
|
||||
`face3d.html`: Demo that uses `Three.js` for 3D OpenGL rendering of a detected face
|
||||
- `face3d.html`: Demo for Browsers that uses `Three.js` for 3D OpenGL rendering of a detected face
|
||||
|
||||
<br><hr><br>
|
||||
|
||||
## Face Recognition Demo
|
||||
|
||||
`demo/facematch.html`: Demo that uses all face description and embedding features to
|
||||
- `demo/facematch.html`: Demo for Browsers that uses all face description and embedding features to
|
||||
detect, extract and identify all faces plus calculate simmilarity between them
|
||||
|
||||
It highlights functionality such as:
|
||||
|
@ -192,6 +207,8 @@ node demo/node.js
|
|||
10:28:54.968 Human: Warmup full 621 ms
|
||||
```
|
||||
|
||||
<br><hr><br>
|
||||
|
||||
## NodeJS Multi-process Demo
|
||||
|
||||
- `node-multiprocess.js` and `node-multiprocess-worker.js`: Demo using NodeJS with CommonJS module
|
||||
|
@ -239,3 +256,15 @@ node node-multiprocess.js
|
|||
2021-04-16 08:33:18 INFO: Processed: 6 images in total: 4930 ms working: 3069 ms average: 511 ms
|
||||
2021-04-16 08:33:18 STATE: Main: worker exit: 268460 0
|
||||
```
|
||||
|
||||
<br><hr><br>
|
||||
|
||||
## NodeJS Demo for Video Input Processing
|
||||
|
||||
- `node-video.js`: Demo that uses `ffmpeg` to decode video input (can be a file, stream or device such as webcam) and output results in a pipe that are captured by demo app as frames and processed by Human library
|
||||
|
||||
<br><hr><br>
|
||||
|
||||
## NodeJS Demo for WebCam Screenshot Processing
|
||||
|
||||
- `node-webcam.js`: Demo that uses `fswebcam` to connect to web cam and take screenshots at regular interval which are then processed by Human library
|
||||
|
|
Loading…
Reference in New Issue