Unable to Get the Tensor* Nodes Using OpenVINO™ Runtime C++ API in OpenVINO™ API 2.0
Content Type: Troubleshooting | Article ID: 000094847 | Last Reviewed: 03/12/2026
Unable to find the replacement for the following APIs in OpenVINO™ API 2.0 :
Blob::Ptr features_output = infer_request.GetBlob("features");
Blob::Ptr heatmaps_output = infer_request.GetBlob("heatmaps");
Blob::Ptr pafs_output = infer_request.GetBlob("pafs");
The Blob API (Blob::Ptr and InferRequest::GetBlob) was deprecated starting with OpenVINO™ 2022 releases and removed in OpenVINO™ Runtime API 2.0.
In OpenVINO™ API 2.0, inference results are accessed using Tensor APIs.
Use the following method to retrieve output tensors by name:
infer_request.get_tensor(const std::string& tensor_name);
The returned ov::Tensor provides access to the output data, shape, and element type.