I am using the OpenCV Contrib framework to preform facial recognition. I need to convert a cv::Mat to a UIImage. However, when I call the MatToUIImage
function I get an error.
No matching function for call to 'MatToUIImage'
This is the code I am using...
MatToUIImage(face, outcome);
face
is a cv::Mat and outcome
is a UIImage.
What am I doing wrong?