Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6454 Discussions

What is the 2.0 Version of infer_request.GetBlob?

adammpolak
New Contributor I
965 Views

Cannot find this in the documentation anywhere for the 2.0 api.

 

Blob::Ptr features_output = infer_request.GetBlob("features");
Blob::Ptr heatmaps_output = infer_request.GetBlob("heatmaps");
Blob::Ptr pafs_output = infer_request.GetBlob("pafs");
 
Was a process I used to do for a 3D pose algorithm. I cannot find the 2.0 version of this process anywhere because "blob" is no longer part of it.
 
How am I able to grab the specific items I want in the 2.0 API?
1 Solution
adammpolak
New Contributor I
939 Views

The answer is:

```

const ov::Tensor& features_output = infer_request.get_tensor("features");
const ov::Tensor& heatmaps_output = infer_request.get_tensor("heatmaps");
const ov::Tensor& pafs_output = infer_request.get_tensor("pafs");
```

View solution in original post

0 Kudos
2 Replies
adammpolak
New Contributor I
940 Views

The answer is:

```

const ov::Tensor& features_output = infer_request.get_tensor("features");
const ov::Tensor& heatmaps_output = infer_request.get_tensor("heatmaps");
const ov::Tensor& pafs_output = infer_request.get_tensor("pafs");
```
0 Kudos
Hairul_Intel
Moderator
900 Views

Hi adammpolak,

Thank you for sharing your solution with us.

 

This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.

 

 

Regards,

Hairul


0 Kudos
Reply