From 2605c5bcb82536b2b5665c74e8497af93003f9da Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Mon, 12 Apr 2021 17:48:59 -0400 Subject: [PATCH] implement webrtc --- CHANGELOG.md | 5 ++- README.md | 20 ++++++++++ demo/helpers/gl-bench.js | 2 +- demo/helpers/menu.js | 21 +++++------ demo/helpers/webrtc.js | 68 ++++++++++++++++++++++++++++++++++ demo/index.html | 4 +- demo/index.js | 18 ++++++++- dist/human.esm-nobundle.js | 2 +- dist/human.esm-nobundle.js.map | 4 +- dist/human.esm.js | 2 +- dist/human.esm.js.map | 4 +- dist/human.js | 2 +- dist/human.js.map | 4 +- dist/human.node-gpu.js | 2 +- dist/human.node-gpu.js.map | 4 +- dist/human.node.js | 2 +- dist/human.node.js.map | 4 +- package.json | 4 +- src/config.ts | 3 +- wiki | 2 +- 20 files changed, 141 insertions(+), 36 deletions(-) create mode 100644 demo/helpers/webrtc.js diff --git a/CHANGELOG.md b/CHANGELOG.md index bc8adb59..b331e384 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # @vladmandic/human -Version: **1.4.1** +Version: **1.4.2** Description: **Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gesture Recognition** Author: **Vladimir Mandic ** @@ -9,8 +9,9 @@ Repository: **** ## Changelog -### **HEAD -> main** 2021/04/10 mandic00@live.com +### **1.4.2** 2021/04/12 mandic00@live.com +- added support for multiple instances of human - fix typedoc - exception handling diff --git a/README.md b/README.md index 3f87b9a4..573085f8 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,26 @@ For details, including how to use `Browser ESM` version or `NodeJS` version of `
+## Inputs + +`Human` library can process all known input types: + +- `Image`, `ImageData`, `ImageBitmap`, `Canvas`, `OffscreenCanvas`, `Tensor`, +- `HTMLImageElement`, `HTMLCanvasElement`, `HTMLVideoElement`, `HTMLMediaElement` + +Additionally, `HTMLVideoElement`, `HTMLMediaElement` can be a standard `