human/demo
Vladimir Mandic 9b7bb84c1d prototype blazepose detector 2021-11-22 14:33:40 -05:00
..
benchmark documentation overhaul 2021-11-10 12:21:45 -05:00
face3d documentation overhaul 2021-11-10 12:21:45 -05:00
faceid new build process 2021-11-18 10:10:06 -05:00
facematch add extra face rotation prior to mesh 2021-11-16 13:07:44 -05:00
helpers documentation overhaul 2021-11-10 12:21:45 -05:00
multithread new build process 2021-11-18 10:10:06 -05:00
nodejs new build process 2021-11-18 10:10:06 -05:00
typescript prototype blazepose detector 2021-11-22 14:33:40 -05:00
README.md documentation overhaul 2021-11-10 12:21:45 -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 strict type checks 2021-08-17 08:51:17 -04:00
index-worker.js switch from es2018 to es2020 for main build 2021-10-26 19:38:23 -04:00
index.html refactor predict with execute 2021-11-02 11:07:11 -04:00
index.js documentation overhaul 2021-11-10 12:21:45 -05:00
manifest.webmanifest package updates 2021-10-12 14:17:33 -04:00
offline.html update typedoc definitions 2021-05-30 18:45:39 -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
  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