From ee2deb88dcdc8b3c0972be5db20d3149f14cd7f3 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Fri, 12 Nov 2021 15:17:08 -0500 Subject: [PATCH] fix for face crop when mesh is disabled --- CHANGELOG.md | 5 ++++- TODO.md | 1 + src/face/facemesh.ts | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05095b3f..6473b839 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,10 @@ ## Changelog -### **HEAD -> main** 2021/11/11 mandic00@live.com +### **HEAD -> main** 2021/11/12 mandic00@live.com + + +### **origin/main** 2021/11/11 mandic00@live.com - add similarity score range normalization - add faceid demo diff --git a/TODO.md b/TODO.md index 5dd23901..444d5989 100644 --- a/TODO.md +++ b/TODO.md @@ -46,6 +46,7 @@ New: - new optional model `liveness` checks if input appears to be a real-world live image or a recording best used together with `antispoofing` that checks if input appears to have a realistic face +- new face masking option in `face.config.detector.mask` Other: - Improved **Safari** compatibility diff --git a/src/face/facemesh.ts b/src/face/facemesh.ts index 35336499..789aa545 100644 --- a/src/face/facemesh.ts +++ b/src/face/facemesh.ts @@ -66,7 +66,8 @@ export async function predict(input: Tensor, config: Config): Promise