docs/articles_en/get-started/learn-openvino/openvino-samples.rst
.. _code samples:
.. meta:: :description: OpenVINO™ samples include a collection of simple console applications that explain how to implement the capabilities and features of OpenVINO API into an application.
.. toctree:: :maxdepth: 1 :hidden:
Get Started with C++ Samples <openvino-samples/get-started-demos> openvino-samples/hello-classification openvino-samples/hello-nv12-input-classification openvino-samples/hello-query-device openvino-samples/hello-reshape-ssd openvino-samples/image-classification-async openvino-samples/model-creation openvino-samples/sync-benchmark openvino-samples/throughput-benchmark openvino-samples/bert-benchmark openvino-samples/benchmark-tool
The OpenVINO™ samples are simple console applications that show how to utilize specific OpenVINO API capabilities within an application. They can assist you in executing specific tasks such as loading a model, running inference, querying specific device capabilities, etc.
The applications include:
.. important::
All C++ samples support input paths containing only ASCII characters, except for the Hello Classification Sample, which supports Unicode.
:doc:Hello Classification Sample <openvino-samples/hello-classification> -
Inference of image classification networks like AlexNet and GoogLeNet using
Synchronous Inference Request API. Input of any size and layout can be set to
an infer request which will be pre-processed automatically during inference.
The sample supports only images as input and supports input paths containing
only Unicode characters.
:doc:Hello NV12 Input Classification Sample <openvino-samples/hello-nv12-input-classification> -
Input of any size and layout can be provided to an infer request. The sample
transforms the input to the NV12 color format and pre-process it automatically
during inference. The sample supports only images as input.
:doc:Hello Query Device Sample <openvino-samples/hello-query-device> -
Query of available OpenVINO devices and their metrics, configuration values.
:doc:Hello Reshape SSD Sample <openvino-samples/hello-reshape-ssd> -
Inference of SSD networks resized by ShapeInfer API according to an input size.
:doc:Image Classification Async Sample <openvino-samples/image-classification-async> -
Inference of image classification networks like AlexNet and GoogLeNet using
Asynchronous Inference Request API. The sample supports only images as inputs.
:doc:OpenVINO Model Creation Sample <openvino-samples/model-creation> -
Construction of the LeNet model using the OpenVINO model creation sample.
Benchmark Samples - Simple estimation of a model inference performance
Sync Samples <openvino-samples/sync-benchmark>Throughput Samples <openvino-samples/throughput-benchmark>Bert Python Sample <openvino-samples/bert-benchmark>:doc:Benchmark Application <openvino-samples/benchmark-tool> - Estimates deep
learning inference performance on supported devices for synchronous and
asynchronous modes.
Python version of the benchmark tool is a core component of the OpenVINO installation package and may be executed with the following command:
.. code-block:: console
benchmark_app -m <model> -i <input> -d <device>
Additional Resources ####################
Get Started with Samples <openvino-samples/get-started-demos>OpenVINO Runtime User Guide <../../openvino-workflow/running-inference>