human/demo
Vladimir Mandic c1dc719a67 add human.draw.tensor method
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-24 11:09:45 -04:00
..
facedetect add human.draw.tensor method 2024-10-24 11:09:45 -04:00
faceid add human.draw.tensor method 2024-10-24 11:09:45 -04:00
facematch add human.draw.tensor method 2024-10-24 11:09:45 -04:00
helpers full eslint rule rewrite 2022-08-21 13:34:51 -04:00
multithread major toolkit upgrade 2023-08-05 15:03:11 +02:00
nodejs update face roll/pitch/yaw math 2024-09-11 12:13:03 -04:00
segmentation add human.draw.tensor method 2024-10-24 11:09:45 -04:00
tracker update packages 2024-10-14 09:06:22 -04:00
typescript update packages 2024-10-14 09:06:22 -04:00
video add human.webcam methods 2022-09-29 21:28:13 -04:00
README.md update dependencies and run full refresh 2023-12-06 15:00:47 -05:00
favicon.ico new icons 2021-03-29 15:01:16 -04:00
icons.css rebuild all for release 2021-05-22 13:17:07 -04:00
index-pwa.js rebuild dependencies 2022-10-13 09:30:33 -04:00
index-worker.js full eslint rule rewrite 2022-08-21 13:34:51 -04:00
index.html add rvm segmentation model 2022-10-02 15:09:00 -04:00
index.js add human.draw.tensor method 2024-10-24 11:09:45 -04:00
manifest.webmanifest package updates 2021-10-12 14:17:33 -04:00
offline.html full eslint rule rewrite 2022-08-21 13:34:51 -04:00

README.md

Human Library: Demos

For details on other demos see Wiki: Demos

Main Demo

index.html: Full demo using Human ESM module running in Browsers,

Includes:

  • Selectable inputs:
    • Sample images
    • Image via drag & drop
    • Image via URL param
    • WebCam input
    • Video stream
    • WebRTC stream
  • Selectable active Human modules
    • With interactive module params
  • Interactive Human image filters
  • Selectable interactive results browser
  • Selectable backend
  • Multiple execution methods:
    • Sync vs Async
    • in main thread or web worker
    • live on git pages, on user-hosted web server or via included micro http2 server

Demo Options

  • General Human library options
    in index.js:userConfig
  • General Human draw options
    in index.js:drawOptions
  • Demo PWA options
    in index.js:pwa
  • Demo specific options
    in index.js:ui
const ui = {
  console: true,      // log messages to browser console
  useWorker: true,    // use web workers for processing
  buffered: true,     // should output be buffered between frames
  interpolated: true, // should output be interpolated for smoothness between frames
  results: false,     // show results tree
  useWebRTC: false,   // use webrtc as camera source instead of local webcam
};

Demo implements several ways to use Human library,

URL Params

Demo app can use URL parameters to override configuration values
For example:

WebRTC

Note that WebRTC connection requires a WebRTC server that provides a compatible media track such as H.264 video track
For such a WebRTC server implementation see https://github.com/vladmandic/stream-rtsp project
that implements a connection to IP Security camera using RTSP protocol and transcodes it to WebRTC
ready to be consumed by a client such as Human