New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-person

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-person

Node.js Person Tracking based on Intel® RealSense™ technology

latest
Source
npmnpm
Version
0.10.1
Version published
Maintainers
1
Created
Source

Intel® RealSense™ technology with JavaScript API for Linux OS

node-person: Node.js Person Detection/Person Tracking/Person Recognition/Persong Skeleton Tracking/Body Gesture Recognition/Face Tracking algorithm module based on Intel® RealSense™ technology.

Please refer to Release Note for details of current release.

Install

Prepare environment and then execute the following command in shell:

npm install --save node-person

Examples

The following example shows the basic usage of this module. Before executing it, connect an Intel® RealSense™ Camera to your computer or developer board.

const personModule = require('node-person');

personModule.createPersonTracker().then(pt => {
  pt.on('frameprocessed', (evtData) => {
    // A new frame was captured and processed
    // Not necessarily means a person will be always detected
  });

  pt.on('persontracked', (evtData) => {
    // A new frame was processed and then there is person detected
    console.log('Person tracked:', evtData);
  });

  // To control how the algorithm works
  // Call method: pt.setPersonTrackerOptions();

  pt.start().then(() => {
    console.log('Camera + algorithm started...');
  });
});

Document

Please refer to the project document home page, and also the details page listed below:

FAQs

Package last updated on 25 Apr 2017

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