Configuration interface definition for Human library

Contains all configurable parameters

### Hierarchy

- Config

## Index

### Properties

- async
- backend
- body
- cacheSensitivity
- debug
- face
- filter
- gesture
- hand
- modelBasePath
- object
- segmentation
- skipFrame
- warmup
- wasmPath

## Properties

### async

async: boolean

- Defined in config.ts:199

Perform model loading and inference concurrently or sequentially

### backend

backend: "" | "cpu" | "wasm" | "webgl" | "humangl" | "tensorflow" | "webgpu"

- Defined in config.ts:189

Backend used for TFJS operations

### body

body: Partial<BodyConfig>

- Defined in config.ts:235

### cacheSensitivity

cacheSensitivity: number

- Defined in config.ts:217

Cache sensitivity

- values 0..1 where 0.01 means reset cache if input changed more than 1%
- set to 0 to disable caching

### debug

debug: boolean

- Defined in config.ts:196

Print debug statements to console

### face

face: Partial<FaceConfig>

- Defined in config.ts:233

### filter

filter: Partial<FilterConfig>

- Defined in config.ts:228

Run input through image filters before inference

- image filters run with near-zero latency as they are executed on the GPU

### gesture

gesture: Partial<GestureConfig>

- Defined in config.ts:231

### hand

hand: Partial<HandConfig>

- Defined in config.ts:237

### modelBasePath

modelBasePath: string

- Defined in config.ts:211

Base model path (typically starting with file://, http:// or https://) for all models

- individual modelPath values are relative to this path

### object

object: Partial<ObjectConfig>

- Defined in config.ts:239

### segmentation

segmentation: Partial<SegmentationConfig>

- Defined in config.ts:241

### skipFrame

skipFrame: boolean

- Defined in config.ts:223

Cache sensitivity

- values 0..1 where 0.01 means reset cache if input changed more than 1%
- set to 0 to disable caching

### warmup

warmup: "none" | "face" | "full" | "body"

- Defined in config.ts:205

What to use for `human.warmup()`

- warmup pre-initializes all models for faster inference but can take significant time on startup
- only used for `webgl` and `humangl` backends

### wasmPath

wasmPath: string

- Defined in config.ts:193

Path to *.wasm files if backend is set to `wasm`