Options
All
  • Public
  • Public/Protected
  • All
Menu

@vladmandic/human

Index

References

Classes

Interfaces

Type aliases

References

default

Renames and exports Human

Type aliases

Error

Error: { error: string }

Error message

Type declaration

  • error: string

Gesture

Gesture: { face: number; gesture: string } | { gesture: string; iris: number } | { body: number; gesture: string } | { gesture: string; hand: number }

Gesture results

Array of individual results with one object per detected gesture Each result has:

  • part: part name and number where gesture was detected: face, iris, body, hand
  • gesture: gesture detected

Input

Input: Tensor | typeof Image | ImageData | ImageBitmap | HTMLImageElement | HTMLMediaElement | HTMLVideoElement | HTMLCanvasElement | OffscreenCanvas

Defines all possible input types for Human detection

TensorFlow

TensorFlow: typeof tf

Instance of TensorFlow/JS