videoanalysis: fixup detection set

This commit is contained in:
Koushik Dutta
2026-01-12 15:10:36 -08:00
parent bb902467eb
commit c1895df062
3 changed files with 4 additions and 3 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/objectdetector",
"version": "0.1.76",
"version": "0.1.77",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/objectdetector",
"version": "0.1.76",
"version": "0.1.77",
"license": "Apache-2.0",
"dependencies": {
"@scrypted/common": "file:../../common",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/objectdetector",
"version": "0.1.76",
"version": "0.1.77",
"description": "Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.",
"author": "Scrypted",
"license": "Apache-2.0",

View File

@@ -504,6 +504,7 @@ class ObjectDetectionMixin extends SettingsMixinDeviceBase<VideoCamera & Camera
this.console.log(`[${Math.round((now - start) / 100) / 10}s] Zones : ${zones.length}`);
stationaryDetections.clear();
movingDetections.clear();
filteredDetections.clear();
lastReport = now;
}
}