mirror of
https://github.com/opencv/opencv.git
synced 2025-01-23 10:03:11 +08:00
12 lines
465 B
C
12 lines
465 B
C
|
// 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.
|
||
|
|
||
|
#import <Accelerate/Accelerate.h>
|
||
|
#import <AVFoundation/AVFoundation.h>
|
||
|
#import <ImageIO/ImageIO.h>
|
||
|
#include "opencv2/core.hpp"
|
||
|
|
||
|
CV_EXPORTS CGImageRef MatToCGImage(const cv::Mat& image);
|
||
|
CV_EXPORTS void CGImageToMat(const CGImageRef image, cv::Mat& m, bool alphaExist);
|