Skip to content
Node.js N-API experiments
C++ JavaScript Python C
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.MD
arrays.js
baboon.jpg
binding.gyp
images.js
package.json

README.MD

N-API experiments using node-addon-api

Important note: this code works for OSX only. Please update binding.gyp conditions if you use other operating system.

Installation

  1. Install OpenCV
brew install opencv@2
brew link --force opencv@2

Please check this issue first if build of OpenCV fails.

  1. Install dependencies
npm i
  1. Buld and run
npm run start:arrays
npm run start:images
You can’t perform that action at this time.