From 3030450d4a177092285d73d313a3efc7c5d8a966 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Mon, 17 May 2021 09:35:34 -0400 Subject: [PATCH] update demo docs --- Demos.md | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/Demos.md b/Demos.md index 8dfe013..a02ce19 100644 --- a/Demos.md +++ b/Demos.md @@ -2,7 +2,22 @@ Demos are included in `/demo`: -
+- `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` + +


## 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


## 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 ``` +


+ ## 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 ``` + +


+ +## 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 + +


+ +## 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