{"id":15198659,"url":"https://github.com/intel/inference-engine-node","last_synced_at":"2025-10-02T13:31:25.191Z","repository":{"id":41141872,"uuid":"243120873","full_name":"intel/inference-engine-node","owner":"intel","description":"Bringing the hardware accelerated deep learning inference to Node.js and Electron.js apps.","archived":true,"fork":false,"pushed_at":"2022-12-14T07:30:11.000Z","size":31950,"stargazers_count":33,"open_issues_count":18,"forks_count":8,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-12-15T07:08:59.440Z","etag":null,"topics":["deep-learning","electronjs","hardware-acceleration","nodejs","openvino"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-25T22:58:31.000Z","updated_at":"2023-12-28T13:57:26.000Z","dependencies_parsed_at":"2023-01-28T19:15:47.333Z","dependency_job_id":null,"html_url":"https://github.com/intel/inference-engine-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel%2Finference-engine-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel%2Finference-engine-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel%2Finference-engine-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intel%2Finference-engine-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intel","download_url":"https://codeload.github.com/intel/inference-engine-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235000825,"owners_count":18920257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","electronjs","hardware-acceleration","nodejs","openvino"],"created_at":"2024-09-28T01:23:54.595Z","updated_at":"2025-10-02T13:31:23.863Z","avatar_url":"https://github.com/intel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"DISCONTINUATION OF PROJECT. \n\nThis project will no longer be maintained by Intel.\n\nThis project has been identified as having known security escapes.\n\nIntel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.  \n\nIntel no longer accepts patches to this project.\n# Inference Engine Binding for Node.js*\n\n*Other names and brands may be claimed as the property of others.\n\n## Prerequisites\n\nInstal [Node.js](https://nodejs.org/).\n\nDownload [OpenVINO](https://software.intel.com/en-us/openvino-toolkit/choose-download/) and install it into the default path.\n\nFor Windows, install [Visual Studio 2019](https://visualstudio.microsoft.com/vs/).\n\nFor Linux, install `build-essential` package.\n\n**Verified configurations:**\n  * Node.js 12 LTS\n  * OpenVINO 2021.4\n  * Windows 10\n  * Ubuntu Linux 18.04\n\n## Install\n\nThe Inference Engine Binding for Node.js supports installation for two operation systems: Windows 10 and Ubuntu 16.04 and\ntwo build systems: node-gyp and CMake-based and Node-GYP-based. \n\n### Install on Ubuntu 18.04\n\nTo install the Inference Engine Binding for Node.js on Ubuntu 16.04 use the following instruction:\n1. Open a terminal in the repository root folder\n2. Activate the OpenVINO environment:\n\nIf you installed the OpenVINO to the `/opt/intel/openvino` directory (as root) use the following command:\n\n```shell script\n$ source /opt/intel/openvino/bin/setupvars.sh\n```\n\nIf you installed the OpenVINO to the home directory `~/intel/openvino` directory use the following command:\n\n```shell script\n$ source ~/intel/openvino/bin/setupvars.sh\n```\n\nTo install Inference Engine Binding for Node.js using node-gyp use the following command in the same terminal:\n\n```shell script\n$ npm install\n```\n\nTo install Inference Engine Binding for Node.js using cmake use following commands in the same terminal:\n\n1. Set an environment variable `NODE_PATH` to directory with installed NodeJS. For example:\n```shell script\n$ export NODE_PATH=/home/user/.nvm/versions/node/v12.17.0/\n```\n\n2. Create an empty directory to build and go to this directory:\n```shell script\n$ mkdir \"cmake-build\" \u0026\u0026 cd \"cmake-build\"\n```\n\n3. Run cmake to fetch project dependencies and create Unix makefiles, then run make to build the project:\n```shell script\n$ cmake -DCMAKE_BUILD_TYPE=Release ../ \u0026\u0026 \\\n$ cmake --build . --target inference_engine_node -- -j $(nproc --all)\n```\n\n### Install on Windows 10\n\nTo install the Inference Engine Binding for Node.js on Windows 10 use the following instruction:\n1. Open a terminal in the repository root folder\n2. Activate the OpenVINO environment:\n```shell script\n\u003e \"C:\\Program Files (x86)\\IntelSWTools\\openvino\\bin\\setupvars.bat\"\n```\n\nTo install Inference Engine Binding for Node.js using node-gyp use the following command in the same terminal:\n```shell script\n\u003e npm install\n```\n\n**Note:** For \"Error: MSBuild is not set\" on VS 2019, please set `msbuild_path`, e.g.\n```\n\u003e npm config set msbuild_path \"c:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\MSBuild\\Current\\Bin\\MSBuild.exe\"\n```\n\nTo install Inference Engine Binding for Node.js using cmake use following commands in the same terminal:\n1. Set an environment variable `NODE_PATH` to directory with installed node-gyp. For example:\n\n```shell script\n\u003e set NODE_PATH=C:\\Users\\user\\AppData\\Local\\node-gyp\\Cache\\14.1.0\\\n```\n\n2. Create an empty directory to build and go to this directory:\n\n```shell script\n\u003e cmake ../ \u0026\u0026 \\\n    cmake --build . --target inference_engine_node --config Release\n```\n\n## Build\n```sh\n$ npm run build\n```\n\n**Note:** For debug build on Windows, open the solution in Visual Studio, change library path to \"C:\\Program Files (x86)\\IntelSWTools\\openvino\\inference_engine\\lib\\intel64\\Debug\" and library name to \"inference_engined.lib\".\n\n### Test\n\nSetup the system environment variables for OpenVINO on [Windows](https://docs.openvinotoolkit.org/2020.1/_docs_install_guides_installing_openvino_windows.html#set-the-environment-variables) and [Linux](https://docs.openvinotoolkit.org/2020.1/_docs_install_guides_installing_openvino_linux.html#set-the-environment-variables).\n\n```sh\n$ npm test\n```\n\n### Example\n\nSetup system environment variables of OpenVINO as test.\n\n * [Image Classification in Electron.js](example/hello_classification_electron/README.md)\n * [Image Classification in Node.js](example/hello_classification_node/README.md)\n * [Object Detection in Node.js](example/hello_object_detection_ssd_node/README.md)\n\n### API\n\n[API Doc](doc/api.md)\n\n### Development\n\n[Coding Style](doc/coding_style.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintel%2Finference-engine-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintel%2Finference-engine-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintel%2Finference-engine-node/lists"}