add note on manually disping tensor

pull/280/head
Vladimir Mandic 2021-06-18 13:39:20 -04:00
parent a9fffcb434
commit fab6eb0b06
3 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,7 @@ Repository: **<git+https://github.com/vladmandic/human.git>**
### **HEAD -> main** 2021/06/18 mandic00@live.com ### **HEAD -> main** 2021/06/18 mandic00@live.com
- modularize model loading
### **2.0.3** 2021/06/18 mandic00@live.com ### **2.0.3** 2021/06/18 mandic00@live.com

View File

@ -107,7 +107,7 @@ export interface Config {
* - iouThreshold: ammount of overlap between two detected objects before one object is removed * - iouThreshold: ammount of overlap between two detected objects before one object is removed
* - maxDetected: maximum number of faces detected in the input, should be set to the minimum number for performance * - maxDetected: maximum number of faces detected in the input, should be set to the minimum number for performance
* - rotation: use calculated rotated face image or just box with rotation as-is, false means higher performance, but incorrect mesh mapping on higher face angles * - rotation: use calculated rotated face image or just box with rotation as-is, false means higher performance, but incorrect mesh mapping on higher face angles
* - return: return extracted face as tensor for futher user processing * - return: return extracted face as tensor for futher user processing, in which case user is reponsible for manually disposing the tensor
*/ */
face: { face: {
enabled: boolean, enabled: boolean,
@ -276,6 +276,7 @@ const config: Config = {
minConfidence: 0.2, // threshold for discarding a prediction minConfidence: 0.2, // threshold for discarding a prediction
iouThreshold: 0.1, // ammount of overlap between two detected objects before one object is removed iouThreshold: 0.1, // ammount of overlap between two detected objects before one object is removed
return: false, // return extracted face as tensor return: false, // return extracted face as tensor
// in which case user is reponsible for disposing the tensor
}, },
mesh: { mesh: {

2
wiki

@ -1 +1 @@
Subproject commit f433ac2b3b8194a62aed252ef2518d480d4866cc Subproject commit e3468326ed13c8664aa3e553d336891629c80b66