implemented dev-server

pull/280/head
Vladimir Mandic 2020-11-05 23:46:37 -05:00
parent 7b8b295306
commit 21f7926d1d
2 changed files with 4 additions and 3 deletions

View File

@ -85,10 +85,10 @@ export default {
}, },
emotion: { emotion: {
enabled: true, enabled: true,
inputSize: 64, // fixed value, 64 for 'mini' and 'lage', 48 for 'cnn' inputSize: 64, // fixed value
minConfidence: 0.3, // threshold for discarding a prediction minConfidence: 0.3, // threshold for discarding a prediction
skipFrames: 15, // how many frames to go without re-running the detector skipFrames: 15, // how many frames to go without re-running the detector
modelPath: '../models/emotion-large.json', // can be 'mini', 'large' or 'cnn' modelPath: '../models/emotion-large.json', // can be 'mini', 'large'
}, },
}, },
body: { body: {

View File

@ -25,6 +25,7 @@
"@tensorflow/tfjs": "^2.7.0", "@tensorflow/tfjs": "^2.7.0",
"@tensorflow/tfjs-node": "^2.7.0", "@tensorflow/tfjs-node": "^2.7.0",
"@vladmandic/pilogger": "^0.2.7", "@vladmandic/pilogger": "^0.2.7",
"chokidar": "^3.4.3",
"dayjs": "^1.9.4", "dayjs": "^1.9.4",
"esbuild": "^0.7.22", "esbuild": "^0.7.22",
"eslint": "^7.12.1", "eslint": "^7.12.1",