New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.7 to 0.0.8

poseDetector.js

5

index.js
//import * as haarDetector from './haarDetector'
import * as motionDetector from './motionDetector'
import * as poseDetector from './poseDetector'
import '@tensorflow/tfjs-backend-webgl';
// export { motionDetector, haarDetector }
export { motionDetector }
export { motionDetector, poseDetector }
{
"name": "emellib",
"version": "0.0.7",
"version": "0.0.8",
"main": "index.js",

@@ -22,3 +22,9 @@ "homepage": "https://www.crejo.fun/",

"license": "ISC",
"description": ""
"description": "",
"dependencies": {
"@tensorflow-models/pose-detection": "0.0.1",
"@tensorflow/tfjs-backend-webgl": "^3.8.0",
"@tensorflow/tfjs-converter": "^3.8.0",
"@tensorflow/tfjs-core": "^3.8.0"
}
}

17

README.md

@@ -26,4 +26,19 @@ ## ML Library

### 2. Haar Cascade Detection
### 2. Body Detection
```js
// load detector. takes time.
const detector = await ml.poseDetector.createDetector(webcamVideo.current);
....
// inside setinterval
const isCorrectFrame = await ml.poseDetector.isBodyInFrame(detector, webcamVideo.current);
```
See full template for react app [here](https://codesandbox.io/s/competent-bhabha-wh3hv?file=/src/App.js) in codesandbox.
### 3. Haar Cascade Detection
**Note:** This implementation needs to be optimized

@@ -30,0 +45,0 @@

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