Skip to content

Commit

Permalink
pam-diff: fixup score reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 25, 2023
1 parent 07c3173 commit ee4d8f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/pam-diff/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/pam-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
"devDependencies": {
"@scrypted/sdk": "file:../../sdk"
},
"version": "0.0.17"
"version": "0.0.18"
}
4 changes: 2 additions & 2 deletions plugins/pam-diff/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ ENDHDR
detections.push(
{
className: 'motion',
score: trigger.percent / 100,
score: 1,
boundingBox: [blob.minX, blob.minY, blob.maxX - blob.minX, blob.maxY - blob.minY],
}
)
Expand All @@ -241,7 +241,7 @@ ENDHDR
detections.push(
{
className: 'motion',
score: trigger.percent / 100,
score: 1,
}
)
}
Expand Down

0 comments on commit ee4d8f5

Please sign in to comment.