diff --git a/config.js b/config.js
index 07e51e3e..45ae9c03 100644
--- a/config.js
+++ b/config.js
@@ -66,13 +66,11 @@ export default {
// detector, mesh, iris, age, gender, emotion
// (note: module is not loaded until it is required)
detector: {
- modelPath: '../models/blazeface-back.json', // can be 'blazeface-front', 'blazeface-back' or 'faceboxes'
- // 'blazeface-front' is blazeface model optimized for large faces such as front-facing camera
- // 'blazeface-back' is blazeface model optimized for smaller and/or distanct faces
- // 'faceboxes' is alternative model to 'blazeface'
- inputSize: 256, // fixed value: 128 for front and 256 for 'back'
+ modelPath: '../models/blazeface-back.json',
+ inputSize: 256, // fixed value
rotation: true, // 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
// should be set to the minimum number for performance
skipFrames: 21, // how many frames to go without re-running the face bounding box detector
@@ -136,7 +134,7 @@ export default {
body: {
enabled: true,
- modelPath: '../models/posenet.json', // can be 'posenet', 'blazepose' or 'blazepose-upper'
+ modelPath: '../models/posenet.json', // can be 'posenet' or 'blazepose'
inputSize: 257, // fixed value, 257 for posenet and 256 for blazepose
maxDetections: 10, // maximum number of people detected in the input
// should be set to the minimum number for performance
diff --git a/demo/gl-bench.js b/demo/gl-bench.js
index 7093c66c..85ad44c9 100644
--- a/demo/gl-bench.js
+++ b/demo/gl-bench.js
@@ -4,7 +4,7 @@
const UICSS = `
#gl-bench { position: absolute; right: 1rem; bottom: 1rem; z-index:1000; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
- #gl-bench div { position: relative; display: block; margin: 4px; padding: 0 7px 0 10px; background: darkslategray; border-radius: 0.2rem; cursor: pointer; opacity: 0.9; }
+ #gl-bench div { position: relative; display: block; margin: 4px; padding: 0 2px 0 2px; background: darkslategray; border-radius: 0.1rem; cursor: pointer; opacity: 0.9; }
#gl-bench svg { height: 60px; margin: 0 0px 0px 4px; }
#gl-bench text { font-size: 16px; font-family: 'Lato', 'Segoe UI'; dominant-baseline: middle; text-anchor: middle; }
#gl-bench .gl-mem { font-size: 12px; fill: white; }
@@ -17,10 +17,10 @@ const UICSS = `
const UISVG = `