node-object

0.10.1 • Public • Published

Intel® RealSense™ technology with JavaScript API for Linux OS

node-object: Node.js Object Recognition/Localization/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-object

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 objectModule = require('node-object');

objectModule.createObjectRecognizer().then(or => {
  or.on('framecaptured', (evtData) => {
    // A new frame was captured
  });

  or.on('frameprocessed', (evtData) => {
    // A new frame was captured and processed
  });

  or.on('recognition', (evtData) => {
    // A new frame was captured, processed and then recognized
    console.log('New object recognized:', evtData);
  });

  // To control how the algorithm works
  // Call method: or.setObjectRecognitionOptions();

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

Document

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

Dependencies (3)

Dev Dependencies (2)

Package Sidebar

Install

npm i node-object

Weekly Downloads

7

Version

0.10.1

License

MIT

Last publish

Collaborators

  • kenny-yuan