mirror of https://github.com/vladmandic/human
major work on body module
parent
ab87288e7d
commit
641d56547d
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
alternative
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue