diff --git a/.gitignore b/.gitignore index 3c3629e6..14433e9c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules +alternative diff --git a/config.js b/config.js index 78e4042d..8ea740c8 100644 --- a/config.js +++ b/config.js @@ -138,6 +138,9 @@ export default { scoreThreshold: 0.5, // threshold for deciding when to remove boxes based on score // in non-maximum suppression nmsRadius: 20, // radius for deciding points are too close in non-maximum suppression + outputStride: 16, // size of block in which to run point detectopn, smaller value means higher resolution + // defined by model itself, can be 8, 16, or 32 + modelType: 'MobileNet', // Human includes MobileNet version, but you can switch to ResNet }, hand: { diff --git a/demo/browser.js b/demo/browser.js index 96ccc12e..407cc119 100644 --- a/demo/browser.js +++ b/demo/browser.js @@ -4,6 +4,13 @@ import Menu from './menu.js'; import GLBench from './gl-bench.js'; const userConfig = {}; // add any user configuration overrides +/* +const userConfig = { + face: { enabled: false }, + body: { enabled: true }, + hand: { enabled: false }, +}; +*/ const human = new Human(userConfig);