NodeJS API for OpenVINO Inference Engine
WARNING: There is the main repository in an Intel organization. All development moved to the main repository. This repo was archived as duplicate.
npm install
source ${INTEL_OPENVINO_DIR}/bin/setupvars.sh
Note: To work in IDE add to $LD_LIBRARY_PATH
environment variables as in setupvars.sh
You can build the addon with node-gyp
or cmake
.
node-gyp
you should:${INTEL_OPENVINO_DIR}
environment variable with path to your OpenVINO package.
npm run build
cmake
you should:NODE_PATH
to path with NodeJS 12. Usually, this is ~/.nvm/versions/node/v12*
mkdir cmake-build && cd cmake-build && cmake ../
cmake --build . --target InferenceEngineAddon -- -j 6
npm run sample:hello-query-device