Skip to content

Commit

Permalink
amcrest: fix vehicle detection class
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 27, 2024
1 parent dce76b5 commit 3e18b9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/amcrest/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/amcrest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/amcrest",
"version": "0.0.137",
"version": "0.0.138",
"description": "Amcrest Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
Expand Down
2 changes: 1 addition & 1 deletion plugins/amcrest/src/amcrest-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class AmcrestCameraClient {
events.emit('smart', 'person', jsonData);
}
else if (event === AmcrestEvent.SmartMotionVehicle) {
events.emit('smart', 'vehicle', jsonData);
events.emit('smart', 'car', jsonData);
}
else if (event === AmcrestEvent.CrossLineDetection || event === AmcrestEvent.CrossRegionDetection) {
const eventData: AmcrestEventData = jsonData;
Expand Down

0 comments on commit 3e18b9e

Please sign in to comment.