openvino/samples/python/classification_sample_async
Zlobin Vladimir 2d3805f6db
Test acutal model (#22841)
Ticket 25942
2024-03-06 11:12:39 +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
classification_sample_async.py Test acutal model (#22841) 2024-03-06 11:12:39 +00:00
requirements.txt Relax OpenCV dependency (#14968) 2023-01-06 14:42:43 +03:00

README.md

Image Classification Async Python Sample

This sample demonstrates how to do inference of image classification models using Asynchronous Inference Request API.

Models with only 1 input and output are supported.

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)
Supported devices All
Other language realization C++

The following Python API is used in the application:

Feature API Description
Asynchronous Infer openvino.runtime.AsyncInferQueue, Do asynchronous inference
openvino.runtime.AsyncInferQueue.set_callback,
openvino.runtime.AsyncInferQueue.start_async,
openvino.runtime.AsyncInferQueue.wait_all,
openvino.runtime.InferRequest.results

Basic OpenVINO™ Runtime API is covered by Hello Classification Python Sample.