From 711c83ad4fe08b5ada9a4ca10eca7b04beed184c Mon Sep 17 00:00:00 2001 From: Philip Lucks Date: Fri, 6 Dec 2024 12:16:24 -0700 Subject: [PATCH] Update index.ts --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e55fce4..5488f2c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -61,7 +61,7 @@ export class FrameRecognition { let topObject: RecognizedObject | null = null; for (const recognized of Object.values(this.trackingObjects)) { - if (recognized.recognitionCount < 20) { + if (recognized.recognitionCount < this.recognitionCount) { continue; }