mirror of https://github.com/vladmandic/human
27 lines
589 B
JavaScript
27 lines
589 B
JavaScript
const Human = require('../dist/human.node.js').default;
|
|
const test = require('./test-main.js').test;
|
|
|
|
const config = {
|
|
modelBasePath: 'file://models/',
|
|
backend: 'tensorflow',
|
|
debug: false,
|
|
videoOptimized: false,
|
|
async: false,
|
|
filter: {
|
|
enabled: true,
|
|
},
|
|
face: {
|
|
enabled: true,
|
|
detector: { enabled: true, rotation: true },
|
|
mesh: { enabled: true },
|
|
iris: { enabled: true },
|
|
description: { enabled: true },
|
|
emotion: { enabled: true },
|
|
},
|
|
hand: { enabled: true },
|
|
body: { enabled: true },
|
|
object: { enabled: true },
|
|
};
|
|
|
|
test(Human, config);
|