New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-moving-things-tracker

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-moving-things-tracker - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

13

ItemTracked.js

@@ -41,2 +41,3 @@ var uuidv4 = require('uuid/v4');

itemTracked.name = properties.name;
itemTracked.prob = properties.prob;
itemTracked.itemHistory = [];

@@ -47,3 +48,4 @@ itemTracked.itemHistory.push({

w: properties.w,
h: properties.h
h: properties.h,
prob: properties.prob
});

@@ -73,2 +75,3 @@ itemTracked.velocity = {

this.h = properties.h;
this.prob = properties.prob;
this.itemHistory.push({

@@ -78,3 +81,4 @@ x: this.x,

w: this.w,
h: this.h
h: this.h,
prob: this.prob
});

@@ -123,3 +127,4 @@ this.name = properties.name;

w: this.w,
h: this.h
h: this.h,
prob: this.prob
});

@@ -172,2 +177,3 @@ this.x = this.x + this.velocity.dx

h: parseInt(this.h, 10),
prob: parseInt(this.prob, 10),
// Here we negate dy to be in "normal" carthesian coordinates

@@ -189,2 +195,3 @@ bearing: parseInt(computeBearingIn360(this.velocity.dx, - this.velocity.dy)),

h: parseInt(this.h, 10),
prob: parseInt(this.prob, 10),
// Here we negate dy to be in "normal" carthesian coordinates

@@ -191,0 +198,0 @@ bearing: parseInt(computeBearingIn360(this.velocity.dx, - this.velocity.dy), 10),

{
"name": "node-moving-things-tracker",
"version": "0.5.0",
"version": "0.5.1",
"description": "Tracker by detections in javascript for node.js / browsers",

@@ -5,0 +5,0 @@ "url": "https://github.com/tdurand/node-moving-things-tracker",

@@ -93,2 +93,3 @@ # node-moving-things-tracker

"h": 29,
"prob": 80,
"name": "car",

@@ -103,2 +104,3 @@ "isZombie": false

"h": 35,
"prob": 80,
"name": "car",

@@ -129,2 +131,3 @@ "isZombie": true

"h": 29,
"prob": 80,
"name": "car",

@@ -143,2 +146,3 @@ "isZombie": false,

"h": 35,
"prob": 80,
"name": "car",

@@ -145,0 +149,0 @@ "isZombie": false,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc