From a6a1fb7149d8a25da4874ce469f66977d517420d Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 11 Mar 2021 22:04:32 -0500 Subject: [PATCH] update docs --- Configuration.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Configuration.md b/Configuration.md index 15b9319..cd05ba7 100644 --- a/Configuration.md +++ b/Configuration.md @@ -100,7 +100,7 @@ config = { // (note: module is not loaded until it is required) detector: { modelPath: '../models/blazeface-back.json', - rotation: true, // use best-guess rotated face image or just box with rotation as-is + rotation: false, // use best-guess rotated face image or just box with rotation as-is // false means higher performance, but incorrect mesh mapping if face angle is above 20 degrees // this parameter is not valid in nodejs maxFaces: 10, // maximum number of faces detected in the input @@ -118,7 +118,7 @@ config = { scoreThreshold: 0.2, // threshold for deciding when to remove boxes based on score // in non-maximum suppression, // this is applied on detection objects only and before minConfidence - return: true, // return extracted face as tensor + return: false, // return extracted face as tensor }, mesh: { @@ -154,7 +154,8 @@ config = { }, embedding: { - enabled: false, + enabled: false, // to improve accuracy of face embedding extraction it is recommended + // to enable detector.rotation and mesh.enabled modelPath: '../models/mobilefacenet.json', }, }, @@ -198,7 +199,7 @@ config = { modelPath: '../models/handskeleton.json', }, }, -} +}; ```