diff --git a/Configuration.md b/Configuration.md index b7f96fc..c46917f 100644 --- a/Configuration.md +++ b/Configuration.md @@ -48,15 +48,13 @@ const config: Config = { // this disables per-model performance data but // slightly increases performance // cannot be used if profiling is enabled - videoOptimized: true, // perform additional optimizations when input is video, - // must be disabled for images - // automatically disabled for Image, ImageData, ImageBitmap and Tensor inputs - // skips boundary detection for every n frames - // while maintaining in-box detection since objects cannot move that fast warmup: 'face', // what to use for human.warmup(), can be 'none', 'face', 'full' // warmup pre-initializes all models for faster inference but can take // significant time on startup // only used for `webgl` and `humangl` backends + cacheSensitivity: 0.005, // cache sensitivity + // values 0..1 where 0.01 means reset cache if input changed more than 1% + // set to 0 to disable caching filter: { // run input through image filters before inference // image filters run with near-zero latency as they are executed on the GPU enabled: true, // enable image pre-processing filters