Examples of using opencv4nodejs.
Link to the library on GitHub.
Link to the library on npm.
cmake has to be installed on your machine.
Execute in terminal:
brew install cmake
Export path by executing:
export PATH="/usr/local/bin:$PATH"
Follow official installation guide.
OpenCV library will be downloaded and compiled by opencv4nodejs. There is no need to have it installed on your machine.
In the root of the project execute:
npm install