openvino/samples/cpp/hello_nv12_input_classifica...
Sebastian Golebiewski 9ebacbb379
[DOCS] Merge Samples Articles Language Versions (#21661)
* Merge samples

* Update docs/articles_en/learn_openvino/openvino_samples/automatic_speech_recognition.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* additional resources

* Update docs/articles_en/learn_openvino/openvino_samples/model_creation.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Update docs/articles_en/learn_openvino/openvino_samples/automatic_speech_recognition.rst

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* reorganize contents of requirements

* remove api reference

* add links to READMEs on repo

* remove speech recognition sample

* removal of deprecation notice

* update conversion steps

* Revert remove speech recognition sample

* remove trailing spaces

* fix links

* Removed unwanted changes from submodules

* applying suggestions

* update api reference

* apply suggestions

---------

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>
2024-01-12 14:24:15 +01:00
..
CMakeLists.txt Moved cmake functions, variables to API 2.0 naming style (#20281) 2023-10-09 22:30:32 +04:00
README.md [DOCS] Merge Samples Articles Language Versions (#21661) 2024-01-12 14:24:15 +01:00
main.cpp Fix step numbers in nv12 classification sample (#18530) 2023-07-13 14:03:58 +04:00

README.md

Hello NV12 Input Classification C++ Sample

This sample demonstrates how to execute an inference of image classification models with images in NV12 color format using Synchronous Inference Request API.

For more detailed information on how this sample works, check the dedicated article

Requirements

Options Values
Validated Models alexnet <omz_models_model_alexnet
Model Format OpenVINO™ toolkit Intermediate Representation (*.xml + *.bin), ONNX (*.onnx)
Validated images An uncompressed image in the NV12 color format - *.yuv
Supported devices All
Other language realization C

The following C++ API is used in the application:

Feature API Description
Node Operations ov::Output::get_any_name Get a layer name
Infer Request Operations ov::InferRequest::set_tensor, Operate with tensors
ov::InferRequest::get_tensor
Preprocessing ov::preprocess::InputTensorInfo::set_color_format, Change the color format of the input data
ov::preprocess::PreProcessSteps::convert_element_type,
ov::preprocess::PreProcessSteps::convert_color

Basic OpenVINO™ Runtime API is covered by Hello Classification C++ sample.