From 9e1776906f0b8c99b9ff6a60bf9249becba50c1f Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Wed, 14 Oct 2020 11:43:33 -0400 Subject: [PATCH] implemented multi-hand support --- .eslintrc.json | 2 + README.md | 76 ++++++++++++++++------- demo/demo-esm.js | 10 +-- demo/demo-node.js | 3 +- demo/demo-webworker-worker.js | 16 ----- package.json | 12 ++-- src/config.js | 19 +++--- src/handpose/{hand.js => handdetector.js} | 68 +++++++++----------- src/handpose/{index.js => handpose.js} | 33 +++++----- src/index.js | 18 ++++-- src/posenet/index.js | 22 ------- 11 files changed, 139 insertions(+), 140 deletions(-) rename src/handpose/{hand.js => handdetector.js} (58%) rename src/handpose/{index.js => handpose.js} (74%) delete mode 100644 src/posenet/index.js diff --git a/.eslintrc.json b/.eslintrc.json index 83e32294..dadaa4e7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -49,6 +49,8 @@ "promise/catch-or-return": "off", "promise/no-nesting": "off", "import/no-absolute-path": "off", + "import/no-extraneous-dependencies": "off", + "node/no-unpublished-require": "off", "no-regex-spaces": "off", "radix": "off" } diff --git a/README.md b/README.md index 828745c8..adab5513 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,14 @@ # Human: 3D Face Detection, Body Pose, Hand & Finger Tracking, Iris Tracking and Age & Gender Prediction -**Documentation**: -**Code Repository**: -**Package**: -**Live Demo**: +- [**Documentation**](https://github.com/vladmandic/human#readme) +- [**Code Repository**](https://github.com/vladmandic/human) +- [**Package**](https://www.npmjs.com/package/@vladmandic/human) +- [**Issues Tracker**](https://github.com/vladmandic/human/issues) +- [**Live Demo**](https://vladmandic.github.io/human/demo/demo-esm.html) -Compatible with Browser, WebWorker and NodeJS** execution! +Compatible with Browser, WebWorker and NodeJS execution! + +*This is a pre-release project, see [issues](https://github.com/vladmandic/human/issues) for list of known limitations* *Suggestions are welcome!* @@ -47,7 +50,7 @@ There are multiple ways to use `Human` library, pick one that suits you: Simply download `dist/human.js`, include it in your `HTML` file & it's ready to use. ```html -