diff --git a/plugins/diagnostics/package-lock.json b/plugins/diagnostics/package-lock.json index 4a8ab289e..e1c2372bf 100644 --- a/plugins/diagnostics/package-lock.json +++ b/plugins/diagnostics/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/diagnostics", - "version": "0.0.28", + "version": "0.0.29", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/diagnostics", - "version": "0.0.28", + "version": "0.0.29", "dependencies": { "@scrypted/common": "file:../../common", "@scrypted/sdk": "file:../../sdk", diff --git a/plugins/diagnostics/package.json b/plugins/diagnostics/package.json index 5ba8de244..d21bd52df 100644 --- a/plugins/diagnostics/package.json +++ b/plugins/diagnostics/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/diagnostics", - "version": "0.0.28", + "version": "0.0.29", "scripts": { "scrypted-setup-project": "scrypted-setup-project", "prescrypted-setup-project": "scrypted-package-json", diff --git a/plugins/diagnostics/src/main.ts b/plugins/diagnostics/src/main.ts index b21d45986..2ddbaa306 100644 --- a/plugins/diagnostics/src/main.ts +++ b/plugins/diagnostics/src/main.ts @@ -137,7 +137,7 @@ class DiagnosticsPlugin extends ScryptedDeviceBase implements Settings { const zidane = await sdk.mediaManager.createMediaObjectFromUrl('https://docs.scrypted.app/img/scrypted-nvr/troubleshooting/zidane.jpg'); const detected = await plugin.detectObjects(zidane); - const personFound = detected.detections!.find(d => d.className === 'person' && d.score > .9); + const personFound = detected.detections!.find(d => d.className === 'person' && d.score > .8); if (!personFound) { throw new Error('Person not detected in test image.'); } @@ -714,7 +714,7 @@ class DiagnosticsPlugin extends ScryptedDeviceBase implements Settings { if (image.width !== 320) throw new Error('Unexpected image with from GPU transform.') const detected = await openvinoPlugin.detectObjects(zidane); - const personFound = detected.detections!.find(d => d.className === 'person' && d.score > .9); + const personFound = detected.detections!.find(d => d.className === 'person' && d.score > .8); if (!personFound) throw new Error('Person not detected in test image.'); }