3.1 KiB
3.1 KiB
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.