openvino/samples/cpp/hello_nv12_input_classifica...
Jacek Pawlak 239466ca5d
copyright year update (#23370)
New PR due to merge
conflicts(https://github.com/openvinotoolkit/openvino/pull/22917)

Updated the copyright year from 2018-2023 to 2018-2024 in all openvino
files

Ref. to script: CVS-101144

Command used:
```bash
git grep -lz '2018-2023 Intel Corporation' | xargs -0 sed -i '' -e 's/2018-2023 Intel Corporation/2018-2024 Intel Corporation/g'
```
2024-03-14 09:37:02 +00:00
..
CMakeLists.txt copyright year update (#23370) 2024-03-14 09:37:02 +00:00
README.md [DOCS] Update of hyperlinks to 2024 + new ov homepage diagram image for master (#23091) 2024-02-28 07:54:04 +00:00
main.cpp copyright year update (#23370) 2024-03-14 09:37:02 +00: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
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.