OpenCV 4.5.3(日本語機械翻訳)
inference_engine.hpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
4 //
5 // Copyright (C) 2018-2019, Intel Corporation, all rights reserved.
6 // Third party copyrights are property of their respective owners.
7
8 #ifndef OPENCV_DNN_UTILS_INF_ENGINE_HPP
9 #define OPENCV_DNN_UTILS_INF_ENGINE_HPP
10
11 #include "../dnn.hpp"
12
13 namespace cv { namespace dnn {
14CV__DNN_INLINE_NS_BEGIN
15
16
17 /* Values for 'OPENCV_DNN_BACKEND_INFERENCE_ENGINE_TYPE' parameter */
18 #define CV_DNN_BACKEND_INFERENCE_ENGINE_NN_BUILDER_API "NN_BUILDER"
19 #define CV_DNN_BACKEND_INFERENCE_ENGINE_NGRAPH "NGRAPH"
20
27CV_EXPORTS_W cv::String getInferenceEngineBackendType();
28
35CV_EXPORTS_W cv::String setInferenceEngineBackendType(const cv::String& newBackendType);
36
37
43CV_EXPORTS_W void resetMyriadDevice();
44
45
46 /* Values for 'OPENCV_DNN_IE_VPU_TYPE' parameter */
47 #define CV_DNN_INFERENCE_ENGINE_VPU_TYPE_UNSPECIFIED ""
49 #define CV_DNN_INFERENCE_ENGINE_VPU_TYPE_MYRIAD_2 "Myriad2"
51 #define CV_DNN_INFERENCE_ENGINE_VPU_TYPE_MYRIAD_X "MyriadX"
52 #define CV_DNN_INFERENCE_ENGINE_CPU_TYPE_ARM_COMPUTE "ARM_COMPUTE"
53 #define CV_DNN_INFERENCE_ENGINE_CPU_TYPE_X86 "X86"
54
55
60CV_EXPORTS_W cv::String getInferenceEngineVPUType();
61
66CV_EXPORTS_W cv::String getInferenceEngineCPUType();
67
70CV_EXPORTS_W void releaseHDDLPlugin();
71
72
73CV__DNN_INLINE_NS_END
74}} // namespace
75
76 #endif // OPENCV_DNN_UTILS_INF_ENGINE_HPP
cv
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75