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

cycle-posenet-driver

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cycle-posenet-driver

A Cycle.js driver for pose detection using TensorFlow.js-powered PoseNet

  • 1.0.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
76
increased by484.62%
Maintainers
1
Weekly downloads
 
Created
Source

cycle-posenet-driver

Cycle.js drivers for pose detection using PoseNet.

Try the demo at StackBlitz!

Note that this package was tested with Chrome browser (>= 65.0.3325.181) only.

API

makePoseDetectionDriver(options)

PoseNet driver factory.

Params:
  • options possible key includes
    • videoWidth {number} An optional video height (default: 640).
    • videoWidth {number} An optional video width (default: 480).
    • flipHorizontal {boolean} An optional flag for horizontally flipping the video (default: true).
    • fps {number} An optional desired frame rate per second
    • closeGUIOnStart {boolean} An optional flag for closing GUI on start

the PoseNet Cycle.js driver function. It takes a stream of PoseNetParameters and returns EventSource:

  • EventSource.events(eventName) takes 'poses' or 'dom' that returns Pose arrays or a required virtual dom element, respectively.

FAQs

Package last updated on 15 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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