Fixing iOS clang warnings, part 1

This commit is contained in:
Maksim Shabunin
2014-10-17 15:45:13 +04:00
parent 630eddf25a
commit 420737e098
7 changed files with 29 additions and 16 deletions

View File

@@ -47,6 +47,9 @@
#include "opencv2/core.hpp"
#include "precomp.hpp"
UIImage* MatToUIImage(const cv::Mat& image);
void UIImageToMat(const UIImage* image, cv::Mat& m, bool alphaExist);
UIImage* MatToUIImage(const cv::Mat& image) {
NSData *data = [NSData dataWithBytes:image.data