mirror of https://github.com/vladmandic/human
update docs
parent
fa7ac1f695
commit
a6a1fb7149
|
@ -100,7 +100,7 @@ config = {
|
||||||
// (note: module is not loaded until it is required)
|
// (note: module is not loaded until it is required)
|
||||||
detector: {
|
detector: {
|
||||||
modelPath: '../models/blazeface-back.json',
|
modelPath: '../models/blazeface-back.json',
|
||||||
rotation: true, // use best-guess rotated face image or just box with rotation as-is
|
rotation: false, // 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
|
||||||
maxFaces: 10, // maximum number of faces detected in the input
|
maxFaces: 10, // maximum number of faces detected in the input
|
||||||
|
@ -118,7 +118,7 @@ config = {
|
||||||
scoreThreshold: 0.2, // threshold for deciding when to remove boxes based on score
|
scoreThreshold: 0.2, // threshold for deciding when to remove boxes based on score
|
||||||
// in non-maximum suppression,
|
// in non-maximum suppression,
|
||||||
// this is applied on detection objects only and before minConfidence
|
// this is applied on detection objects only and before minConfidence
|
||||||
return: true, // return extracted face as tensor
|
return: false, // return extracted face as tensor
|
||||||
},
|
},
|
||||||
|
|
||||||
mesh: {
|
mesh: {
|
||||||
|
@ -154,7 +154,8 @@ config = {
|
||||||
},
|
},
|
||||||
|
|
||||||
embedding: {
|
embedding: {
|
||||||
enabled: false,
|
enabled: false, // to improve accuracy of face embedding extraction it is recommended
|
||||||
|
// to enable detector.rotation and mesh.enabled
|
||||||
modelPath: '../models/mobilefacenet.json',
|
modelPath: '../models/mobilefacenet.json',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -198,7 +199,7 @@ config = {
|
||||||
modelPath: '../models/handskeleton.json',
|
modelPath: '../models/handskeleton.json',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in New Issue