File size: 659 Bytes
dffe123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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) 2023 Intel Corporation

#ifndef OPENCV_GAPI_COREML_EP_HPP
#define OPENCV_GAPI_COREML_EP_HPP

#include "opencv2/gapi/infer/onnx.hpp"
#ifdef HAVE_ONNX

#include <onnxruntime_cxx_api.h>

namespace cv {
namespace gimpl {
namespace onnx {
void addCoreMLExecutionProvider(Ort::SessionOptions *session_options,
                                const cv::gapi::onnx::ep::CoreML &coreml_ep);
}}}

#endif  // HAVE_ONNX
#endif  // OPENCV_GAPI_COREML_EP_HPP