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.
6577 Discussions

What is the 2.0 Version of infer_request.GetBlob?

adammpolak
Nouveau contributeur I
1 555 Visites

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
Nouveau contributeur I
1 529 Visites

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");
```

Voir la solution dans l'envoi d'origine

0 Compliments
2 Réponses
adammpolak
Nouveau contributeur I
1 530 Visites

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 Compliments
Hairul_Intel
Modérateur
1 490 Visites

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 Compliments
Répondre