updated model path

pull/50/head
Vladimir Mandic 2020-10-12 10:14:26 -04:00
parent 134fdeeae1
commit 5e027da545
7 changed files with 16 additions and 15 deletions

View File

@ -1,6 +1,7 @@
# Human: 3D Face Detection, Body Pose, Hand & Finger Tracking, Iris Tracking and Age & Gender Prediction
URL: <https://github.com/vladmandic/human>
Repository: <https://github.com/vladmandic/human>
Live Demo: <https://vladmandic.github.io/human/demo/demo-esm.html>
*Suggestions are welcome!*

View File

@ -12,7 +12,7 @@ const config = {
age: { enabled: false, skipFrames: 5 },
gender: { enabled: false },
},
body: { enabled: false, maxDetections: 5, scoreThreshold: 0.75, nmsRadius: 20 },
body: { enabled: false, maxDetections: 5, scoreThreshold: 0.75, nmsRadius: 20, },
hand: { enabled: false, skipFrames: 5, minConfidence: 0.8, iouThreshold: 0.3, scoreThreshold: 0.75 },
};
let settings;

2
dist/human.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/human.js vendored

File diff suppressed because one or more lines are too long

4
dist/human.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -17,23 +17,23 @@ export default {
},
iris: {
enabled: true,
modelPath: '/models/iris/model.json',
modelPath: '../models/iris/model.json',
inputSize: 192, // fixed value
},
age: {
enabled: true,
modelPath: '/models/ssrnet-age/imdb/model.json',
modelPath: '../models/ssrnet-age/imdb/model.json',
inputSize: 64, // fixed value
skipFrames: 5,
},
gender: {
enabled: true,
modelPath: '/models/ssrnet-gender/imdb/model.json',
modelPath: '../models/ssrnet-gender/imdb/model.json',
},
},
body: {
enabled: true,
modelPath: '/models/posenet/model.json',
modelPath: '../models/posenet/model.json',
inputResolution: 257, // fixed value
outputStride: 16, // fixed value
maxDetections: 5,
@ -48,11 +48,11 @@ export default {
iouThreshold: 0.3,
scoreThreshold: 0.75,
detector: {
anchors: '/models/handdetect/anchors.json',
modelPath: '/models/handdetect/model.json',
anchors: '../models/handdetect/anchors.json',
modelPath: '../models/handdetect/model.json',
},
skeleton: {
modelPath: '/models/handskeleton/model.json',
modelPath: '../models/handskeleton/model.json',
},
},
};