Perform model loading and inference concurrently or sequentially
Backend used for TFJS operations
Controlls and configures all body detection specific options
Cache sensitivity
Print debug statements to console
Controlls and configures all face-specific options:
Run input through image filters before inference
Range: 0 (no blur) to N (blur radius in pixels)
Range: -1 (darken) to 1 (lighten)
Range: -1 (reduce contrast) to 1 (increase contrast)
Flip input as mirror image
Resize input height
Range: 0 (no change) to 360 (hue rotation in degrees)
Image kodachrome colors
Image negative
Range: 0 (no pixelate) to N (number of pixels to pixelate)
Image polaroid camera effect
Return processed canvas imagedata in result
Range: -1 (reduce saturation) to 1 (increase saturation)
Image sepia colors
Range: 0 (no sharpening) to 1 (maximum sharpening)
Image technicolor colors
Image vintage colors
Resize input width
Controlls gesture detection
Controlls and configures all hand detection specific options
Base model path (typically starting with file://, http:// or https://) for all models
Controlls and configures all object detection specific options
Controlls and configures all body segmentation module removes background from input containing person if segmentation is enabled it will run as preprocessing task before any other model alternatively leave it disabled and use it on-demand using human.segmentation method which can remove background or replace it with user-provided background
Cache sensitivity
What to use for human.warmup()
webgl
and humangl
backendsPath to *.wasm files if backend is set to wasm
Configuration interface definition for Human library
Contains all configurable parameters