Ask Your Question

Revision history [back]

The following conversion functions(UIImage <--> cv::Mat) are prepared after OpenCV 2.4.6.

  • MatToUIImage
  • UIImageToMat

You can find the definition of these functions in the following header.

opencv2/highgui/ios.h

And, you can find the implementation of these functions in the following source code.

modules/highgui/src/ios_conversions.mm