fix face detection when mesh is disabled

pull/293/head
Vladimir Mandic 2021-01-18 08:22:25 -05:00
parent 0551cc9f86
commit de4df71a08
2 changed files with 15 additions and 16 deletions

View File

@ -7,11 +7,10 @@ const userConfig = {}; // add any user configuration overrides
/*
const userConfig = {
backend: 'humangl',
face: { enabled: false, iris: { enabled: false } },
// backend: 'humangl',
face: { enabled: true, iris: { enabled: false }, mesh: { enabled: false }, age: { enabled: false }, gender: { enabled: false }, emotion: { enabled: false } },
body: { enabled: false },
hand: { enabled: false },
pose: { enabled: true },
};
*/

View File

@ -22,21 +22,21 @@
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@tensorflow/tfjs": "^2.8.3",
"@tensorflow/tfjs-backend-cpu": "^2.8.3",
"@tensorflow/tfjs-backend-wasm": "^2.8.3",
"@tensorflow/tfjs-backend-webgl": "^2.8.3",
"@tensorflow/tfjs-converter": "^2.8.3",
"@tensorflow/tfjs-core": "^2.8.3",
"@tensorflow/tfjs-data": "^2.8.3",
"@tensorflow/tfjs-layers": "^2.8.3",
"@tensorflow/tfjs-node": "^2.8.3",
"@tensorflow/tfjs-node-gpu": "^2.8.3",
"@tensorflow/tfjs": "=2.8.3",
"@tensorflow/tfjs-backend-cpu": "=2.8.3",
"@tensorflow/tfjs-backend-wasm": "=2.8.3",
"@tensorflow/tfjs-backend-webgl": "=2.8.3",
"@tensorflow/tfjs-converter": "=2.8.3",
"@tensorflow/tfjs-core": "=2.8.3",
"@tensorflow/tfjs-data": "=2.8.3",
"@tensorflow/tfjs-layers": "=2.8.3",
"@tensorflow/tfjs-node": "=2.8.3",
"@tensorflow/tfjs-node-gpu": "=2.8.3",
"@vladmandic/pilogger": "^0.2.11",
"chokidar": "^3.5.0",
"chokidar": "^3.5.1",
"dayjs": "^1.10.3",
"esbuild": "^0.8.31",
"eslint": "^7.17.0",
"esbuild": "^0.8.33",
"eslint": "^7.18.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-json": "^2.1.2",