Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

1.7 KB
Raw Blame

OpenVINO™ Node.js Bindings Examples of Usage

Install

To run samples, install dependencies first

  • When you use the openvino release branch, install dependencies before running samples. In the current directory, run:
npm install
  • If you use the master branch, please follow this instruction to build the latest version of openvino-node from source first, then install dependencies.

Note: Perform this step also before running notebooks.

Samples

  • hello_classification
  • hello_reshape_ssd
  • classification_sample_async
  • optical_character_recognition
  • vision_background_removal

Notebooks

Use Node.js Notebooks (REPL) VSCode extension to run these notebook samples

  • ./notebooks
    • hello-world.nnb
    • hello-segmentation.nnb
    • hello-detection.nnb
    • question-answering.nnb
    • pose-estimation.nnb
    • optical-character-recognition.nnb
    • vision-background-removal.nnb

Live Sample

You can run this sample in the browser; no installation is required. Codesandbox is a free online service with limited resources. For optimal performance and more control, it is recommended to run the sample locally.

See Also