From 1ee7e4bb8bf2c1a9a4002f7339d2aa9b1b791a11 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Wed, 13 Nov 2024 11:17:03 +0000 Subject: [PATCH] Fix recognition point bug --- src/store.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store.ts b/src/store.ts index 50c6289c6..39a6731d0 100644 --- a/src/store.ts +++ b/src/store.ts @@ -918,7 +918,9 @@ const createMlStore = (logging: Logging) => { } else { const { confidences } = result; const detected = getDetectedAction( - actions, + // Get latest actions from store so that changes to + // recognition point are realised. + get().actions, result.confidences ); set({