Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emellib

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emellib - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

5

haarDetector.js

@@ -9,8 +9,9 @@ var HAAR = require('./dep/haar-detector.js');

// canvasElementDisplay
const detector = new HAAR.Detector(faceHaardata)
return () => {
args.canvasElementDisplay.width = args.videoElement.offsetWidth;
args.canvasElementDisplay.height = args.videoElement.offsetHeight;
const ctx = args.canvasElementDisplay.getContext('2d');
const detector = new HAAR.Detector(faceHaardata)

@@ -17,0 +18,0 @@ detector

2

motionDetector.js

@@ -73,5 +73,5 @@ import * as utils from './utils'

return energyScore
return energyScore / (args.canvasElementHelper.width * args.canvasElementDisplay.height * 4)
}
}
{
"name": "emellib",
"version": "0.0.4",
"version": "0.0.5",
"main": "index.js",

@@ -5,0 +5,0 @@ "homepage": "https://www.crejo.fun/",

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