From ded889484b6fc3a55ff8246cdde5b263d2081134 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 - dist/human.esm.js | 74138 +++++++++++++++++++- dist/human.esm.js.map | 6 +- dist/human.js | 486 +- dist/human.js.map | 6 +- dist/human.nobundle.js | 2 + dist/human.nobundle.js.map | 7 + dist/human.node.js | 361 +- dist/human.node.js.map | 6 +- package-lock.json | 580 +- package.json | 12 +- src/config.js | 19 +- src/facemesh/{index.js => facemesh.js} | 0 src/handpose/{hand.js => handdetector.js} | 68 +- src/handpose/{index.js => handpose.js} | 33 +- src/handpose/pipeline.js | 117 +- src/index.js | 18 +- src/posenet/decodeSingle.js | 59 - src/posenet/modelPoseNet.js | 38 +- src/posenet/{index.js => posenet.js} | 2 - src/ssrnet/{index.js => ssrnet.js} | 0 25 files changed, 71421 insertions(+), 4644 deletions(-) create mode 100644 dist/human.nobundle.js create mode 100644 dist/human.nobundle.js.map rename src/facemesh/{index.js => facemesh.js} (100%) rename src/handpose/{hand.js => handdetector.js} (58%) rename src/handpose/{index.js => handpose.js} (74%) delete mode 100644 src/posenet/decodeSingle.js rename src/posenet/{index.js => posenet.js} (88%) rename src/ssrnet/{index.js => ssrnet.js} (100%) 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 -