cv::gapi::ie Namespace Reference
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
cv::gapi::ie Namespace Reference
Classes |
| class | Params |
| This structure provides functions that fill inference parameters for "OpenVINO Toolkit" model. More... |
| class | Params< cv::gapi::Generic > |
| struct | PortCfg |
| class | PyParams |
Typedefs | |
| using | IEConfig = std::map<std::string, std::string> |
This namespace contains G-API OpenVINO backend functions, structures, and symbols.
| using cv::gapi::ie::IEConfig = std::map<std::string, std::string> |
| Enumerator | |
|---|---|
| Sync Python: cv.gapi.ie.Sync | |
| Async Python: cv.gapi.ie.Async | |
| strong |
Specifies how G-API and IE should trait input data
In OpenCV, the same cv::Mat is used to represent both image and tensor data. Sometimes those are hardly distinguishable, so this extra parameter is used to give G-API a hint.
This hint controls how G-API reinterprets the data when converting it to IE Blob format (and which layout/etc is assigned to this data).
| cv::gapi::GBackend cv::gapi::ie::backend | ( | ) |
| PyParams cv::gapi::ie::params | ( | const std::string & | tag, |
| const std::string & | model, | ||
| const std::string & | device ) |
| Python: | ||||
|---|---|---|---|---|
| cv.gapi.ie.params( | tag, model, weights, device | ) -> | retval | |
| cv.gapi.ie.params( | tag, model, device | ) -> | retval |
| PyParams cv::gapi::ie::params | ( | const std::string & | tag, |
| const std::string & | model, | ||
| const std::string & | weights, | ||
| const std::string & | device ) |
| Python: | ||||
|---|---|---|---|---|
| cv.gapi.ie.params( | tag, model, weights, device | ) -> | retval | |
| cv.gapi.ie.params( | tag, model, device | ) -> | retval |