From 534d4d77d99b0fc71913e8ef6242e4c6461614f5 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Tue, 18 May 2021 11:26:28 -0400 Subject: [PATCH] human 1.9.0 with breaking changes regarding caching --- Configuration.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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