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 # 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!* *Suggestions are welcome!*

View File

@ -12,7 +12,7 @@ const config = {
age: { enabled: false, skipFrames: 5 }, age: { enabled: false, skipFrames: 5 },
gender: { enabled: false }, 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 }, hand: { enabled: false, skipFrames: 5, minConfidence: 0.8, iouThreshold: 0.3, scoreThreshold: 0.75 },
}; };
let settings; 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: { iris: {
enabled: true, enabled: true,
modelPath: '/models/iris/model.json', modelPath: '../models/iris/model.json',
inputSize: 192, // fixed value inputSize: 192, // fixed value
}, },
age: { age: {
enabled: true, enabled: true,
modelPath: '/models/ssrnet-age/imdb/model.json', modelPath: '../models/ssrnet-age/imdb/model.json',
inputSize: 64, // fixed value inputSize: 64, // fixed value
skipFrames: 5, skipFrames: 5,
}, },
gender: { gender: {
enabled: true, enabled: true,
modelPath: '/models/ssrnet-gender/imdb/model.json', modelPath: '../models/ssrnet-gender/imdb/model.json',
}, },
}, },
body: { body: {
enabled: true, enabled: true,
modelPath: '/models/posenet/model.json', modelPath: '../models/posenet/model.json',
inputResolution: 257, // fixed value inputResolution: 257, // fixed value
outputStride: 16, // fixed value outputStride: 16, // fixed value
maxDetections: 5, maxDetections: 5,
@ -48,11 +48,11 @@ export default {
iouThreshold: 0.3, iouThreshold: 0.3,
scoreThreshold: 0.75, scoreThreshold: 0.75,
detector: { detector: {
anchors: '/models/handdetect/anchors.json', anchors: '../models/handdetect/anchors.json',
modelPath: '/models/handdetect/model.json', modelPath: '../models/handdetect/model.json',
}, },
skeleton: { skeleton: {
modelPath: '/models/handskeleton/model.json', modelPath: '../models/handskeleton/model.json',
}, },
}, },
}; };