mirror of https://github.com/vladmandic/human
enable handtrack as default model
parent
156e857d32
commit
8e801a2af5
|
@ -356,7 +356,7 @@ const config: Config = {
|
||||||
rotation: true, // use best-guess rotated face image or just box with rotation as-is
|
rotation: true, // use best-guess rotated face image or just box with rotation as-is
|
||||||
// false means higher performance, but incorrect mesh mapping if face angle is above 20 degrees
|
// false means higher performance, but incorrect mesh mapping if face angle is above 20 degrees
|
||||||
// this parameter is not valid in nodejs
|
// this parameter is not valid in nodejs
|
||||||
maxDetected: 15, // maximum number of faces detected in the input
|
maxDetected: 1, // maximum number of faces detected in the input
|
||||||
// should be set to the minimum number for performance
|
// should be set to the minimum number for performance
|
||||||
skipFrames: 15, // how many max frames to go without re-running the face bounding box detector
|
skipFrames: 15, // how many max frames to go without re-running the face bounding box detector
|
||||||
// only used when cacheSensitivity is not zero
|
// only used when cacheSensitivity is not zero
|
||||||
|
@ -425,14 +425,14 @@ const config: Config = {
|
||||||
// e.g., if model is running st 25 FPS, we can re-use existing bounding
|
// e.g., if model is running st 25 FPS, we can re-use existing bounding
|
||||||
// box for updated hand skeleton analysis as the hand
|
// box for updated hand skeleton analysis as the hand
|
||||||
// hasn't moved much in short time (10 * 1/25 = 0.25 sec)
|
// hasn't moved much in short time (10 * 1/25 = 0.25 sec)
|
||||||
minConfidence: 0.8, // threshold for discarding a prediction
|
minConfidence: 0.5, // threshold for discarding a prediction
|
||||||
iouThreshold: 0.2, // ammount of overlap between two detected objects before one object is removed
|
iouThreshold: 0.2, // ammount of overlap between two detected objects before one object is removed
|
||||||
maxDetected: -1, // maximum number of hands detected in the input
|
maxDetected: -1, // maximum number of hands detected in the input
|
||||||
// should be set to the minimum number for performance
|
// should be set to the minimum number for performance
|
||||||
// set to -1 to autodetect based on number of detected faces
|
// set to -1 to autodetect based on number of detected faces
|
||||||
landmarks: true, // detect hand landmarks or just hand boundary box
|
landmarks: true, // detect hand landmarks or just hand boundary box
|
||||||
detector: {
|
detector: {
|
||||||
modelPath: 'handdetect.json', // hand detector model, can be absolute path or relative to modelBasePath
|
modelPath: 'handtrack.json', // hand detector model, can be absolute path or relative to modelBasePath
|
||||||
// can be 'handdetect' or 'handtrack'
|
// can be 'handdetect' or 'handtrack'
|
||||||
},
|
},
|
||||||
skeleton: {
|
skeleton: {
|
||||||
|
|
Loading…
Reference in New Issue