From 21491bf30436e4cfdaedd183452042bdc25c0465 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 8 Apr 2021 18:37:58 -0400 Subject: [PATCH] update cdn links --- README.md | 24 +++++++++++++++++++++--- wiki | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0f888476..bde432f0 100644 --- a/README.md +++ b/README.md @@ -114,12 +114,30 @@ As presented in the demo application...


+## Quick Start + +Simply load `Human` directly from a CDN in your HTML file: + +```html + +``` + +or + +```html + +``` + +For details, including how to use `Browser ESM` version or `NodeJS` version of `Human`, see [**Installation**](https://github.com/vladmandic/human/wiki/Install) + +
+ +## Example + Example simple app that uses Human to process video input and draw output on screen using internal draw helper functions ```js -import Human from '@vladmandic/human'; - // create instance of human with simple configuration using default values const config = { backend: 'webgl' }; const human = new Human(config); @@ -139,7 +157,7 @@ function detectVideo() { human.draw.body(outputCanvas, result.body); human.draw.hand(outputCanvas, result.hand); human.draw.gesture(outputCanvas, result.gesture); - // loop immediate to next frame + // and loop immediate to next frame requestAnimationFrame(detectVideo); }); } diff --git a/wiki b/wiki index eaf77ad8..f5850bc4 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit eaf77ad8c8a91df6e63bee662062ff59a0ce987a +Subproject commit f5850bc4ed575a9973854d3d35242d181d7f4b65