update demo docs

master
Vladimir Mandic 2021-05-17 09:35:34 -04:00
parent 981e14523d
commit 3030450d4a
1 changed files with 32 additions and 3 deletions

@ -2,7 +2,22 @@
Demos are included in `/demo`: 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 ## Main Demo
@ -95,13 +110,13 @@ For example:
## Face 3D Rendering using OpenGL ## 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> <br><hr><br>
## Face Recognition Demo ## 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 detect, extract and identify all faces plus calculate simmilarity between them
It highlights functionality such as: It highlights functionality such as:
@ -192,6 +207,8 @@ node demo/node.js
10:28:54.968 Human: Warmup full 621 ms 10:28:54.968 Human: Warmup full 621 ms
``` ```
<br><hr><br>
## NodeJS Multi-process Demo ## NodeJS Multi-process Demo
- `node-multiprocess.js` and `node-multiprocess-worker.js`: Demo using NodeJS with CommonJS module - `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 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 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