mirror of https://github.com/vladmandic/human
add note on manually disping tensor
parent
a9fffcb434
commit
fab6eb0b06
|
@ -11,6 +11,7 @@ Repository: **<git+https://github.com/vladmandic/human.git>**
|
|||
|
||||
### **HEAD -> main** 2021/06/18 mandic00@live.com
|
||||
|
||||
- modularize model loading
|
||||
|
||||
### **2.0.3** 2021/06/18 mandic00@live.com
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ export interface Config {
|
|||
* - 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
|
||||
* - 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: {
|
||||
enabled: boolean,
|
||||
|
@ -276,6 +276,7 @@ const config: Config = {
|
|||
minConfidence: 0.2, // threshold for discarding a prediction
|
||||
iouThreshold: 0.1, // ammount of overlap between two detected objects before one object is removed
|
||||
return: false, // return extracted face as tensor
|
||||
// in which case user is reponsible for disposing the tensor
|
||||
},
|
||||
|
||||
mesh: {
|
||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
|||
Subproject commit f433ac2b3b8194a62aed252ef2518d480d4866cc
|
||||
Subproject commit e3468326ed13c8664aa3e553d336891629c80b66
|
Loading…
Reference in New Issue