added skipInitial flag

master
Vladimir Mandic 2021-03-01 17:19:53 -05:00
parent 35cb9ec10d
commit c283c4a21d
2 changed files with 6 additions and 2 deletions

@ -10,9 +10,9 @@ Repository: **<git+https://github.com/vladmandic/human.git>**
## Changelog
### **HEAD -> main, tag: v0.30.3** 2021/02/28 mandic00@live.com
### **HEAD -> main, origin/main, origin/HEAD** 2021/02/28 mandic00@live.com
### **origin/main, origin/HEAD** 2021/02/28 mandic00@live.com
### **tag: v0.30.3** 2021/02/28 mandic00@live.com
- typo
### **tag: v0.30.2** 2021/02/26 mandic00@live.com

@ -108,6 +108,8 @@ config = {
// e.g., if model is running st 25 FPS, we can re-use existing bounding
// box for updated face analysis as the head probably hasn't moved much
// in short time (10 * 1/25 = 0.25 sec)
skipInitial: false, // if previous detection resulted in no faces detected,
// should skipFrames be reset immediately
minConfidence: 0.5, // threshold for discarding a prediction
iouThreshold: 0.2, // threshold for deciding whether boxes overlap too much in
// non-maximum suppression (0.1 means drop if overlap 10%)
@ -186,6 +188,8 @@ config = {
// e.g., if model is running st 25 FPS, we can re-use existing bounding
// box for updated hand skeleton analysis as the hand probably
// hasn't moved much in short time (10 * 1/25 = 0.25 sec)
skipInitial: false, // if previous detection resulted in no faces detected,
// should skipFrames be reset immediately
minConfidence: 0.1, // threshold for discarding a prediction
iouThreshold: 0.1, // threshold for deciding whether boxes overlap too much
// in non-maximum suppression