diff --git a/Configuration.md b/Configuration.md index 3d4ce34..55c9f0e 100644 --- a/Configuration.md +++ b/Configuration.md @@ -78,8 +78,8 @@ const config: Config = { // if both width and height are set to 0, there is no resizing // if just one is set, second one is scaled automatically // if both are set, values are used as-is - return: true, // return processed canvas imagedata in result flip: false, // flip input as mirror image + return: true, // return processed canvas imagedata in result brightness: 0, // range: -1 (darken) to 1 (lighten) contrast: 0, // range: -1 (reduce contrast) to 1 (increase contrast) sharpness: 0, // range: 0 (no sharpening) to 1 (maximum sharpening) @@ -147,6 +147,7 @@ const config: Config = { // can be either absolute path or relative to modelBasePath skipFrames: 31, // how many frames to go without re-running the detector // only used for video inputs + minConfidence: 0.1, // threshold for discarding a prediction }, emotion: { @@ -162,11 +163,12 @@ const config: Config = { enabled: true, modelPath: 'posenet.json', // body model // can be either absolute path or relative to modelBasePath - // can be 'posenet' or 'blazepose' - maxDetections: 10, // maximum number of people detected in the input + // can be 'posenet', 'blazepose' or 'efficientpose' + // 'blazepose' and 'efficientpose' are experimental + maxDetections: 1, // maximum number of people detected in the input // should be set to the minimum number for performance // only valid for posenet as blazepose only detects single pose - scoreThreshold: 0.3, // threshold for deciding when to remove boxes based on score + scoreThreshold: 0.2, // threshold for deciding when to remove boxes based on score // in non-maximum suppression // only valid for posenet as blazepose only detects single pose nmsRadius: 20, // radius for deciding points are too close in non-maximum suppression