mirror of https://github.com/vladmandic/human
updated model path
parent
134fdeeae1
commit
5e027da545
|
@ -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!*
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue