From fa5f0be769ff859ae1eb670735f2933d302fcce4 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 ++++++++++- package.json | 4 +-- src/config.ts | 3 +- wiki | 2 +- 10 files changed, 126 insertions(+), 21 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 `