From d293f4a20b640e6bc8485dc0f8a2c2147ce33073 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Wed, 22 Sep 2021 15:16:04 -0400 Subject: [PATCH] redo segmentation --- Usage.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Usage.md b/Usage.md index 92dd396..97b1c28 100644 --- a/Usage.md +++ b/Usage.md @@ -86,10 +86,12 @@ For details, see [embedding documentation](https://github.com/vladmandic/human/w `Human` library can attempt to detect outlines of people in provided input and either remove background from input or replace it with a user-provided background image +For details on parameters and return values see [API Documentation](https://vladmandic.github.io/human/typedoc/classes/Human.html#segmentation) + ```js - const inputCanvas = document.getElementById('my-canvas); - const replacementBackground = document.getElementById('my-background); - human.segmentation(inputCanvas, replacementBackground); + const input = document.getElementById('my-canvas); + const background = document.getElementById('my-background); + human.segmentation(input, background); ``` ## Draw Functions