OpenCV  4.5.3
Open Source Computer Vision
Functions
ios.h File Reference
#import <UIKit/UIKit.h>
#import <Accelerate/Accelerate.h>
#import <AVFoundation/AVFoundation.h>
#import <ImageIO/ImageIO.h>
#include "opencv2/core.hpp"

Functions

void CGImageToMat (const CGImageRef image, cv::Mat &m, bool alphaExist=false)
 
CGImageRef MatToCGImage (const cv::Mat &image) CF_RETURNS_RETAINED
 
UIImage * MatToUIImage (const cv::Mat &image)
 
void UIImageToMat (const UIImage *image, cv::Mat &m, bool alphaExist=false)