major work on body module

pull/293/head
Vladimir Mandic 2020-12-16 18:36:24 -05:00
parent c7249463b2
commit f1293948b5
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules
alternative

View File

@ -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: {

View File

@ -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);