| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| // | |
| // Copyright (C) 2019 Intel Corporation | |
| // NOTE: This file is not included by default in infer/ie.hpp | |
| // and won't be. infer/ie.hpp doesn't depend on IE headers itself. | |
| // This file does -- so needs to be included separately by those who care. | |
| namespace cv { | |
| namespace gapi { | |
| namespace ie { | |
| namespace util { | |
| // NB: These functions are EXPORTed to make them accessible by the | |
| // test suite only. | |
| GAPI_EXPORTS std::vector<int> to_ocv(const InferenceEngine::SizeVector &dims); | |
| GAPI_EXPORTS cv::Mat to_ocv(InferenceEngine::Blob::Ptr blob); | |
| GAPI_EXPORTS InferenceEngine::Blob::Ptr to_ie(const cv::Mat &blob); | |
| GAPI_EXPORTS InferenceEngine::Blob::Ptr to_ie(const cv::Mat &y_plane, const cv::Mat &uv_plane); | |
| }}}} | |