Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is there a way to display cv::Mat using __android_log_print()

I know you can display a cv::Mat using cout << Mat << endl;

But I am examing this on a android phone it can't handle cout; So is there a established way to send it through __android_log_print()? which is pretty much the same as printf().

Or do I need to write my own customised version of std::String Mat_to_Sting(cv::Mat)?

Is there a way to display cv::Mat using __android_log_print()

I know you can display a cv::Mat using cout << Mat << endl;

But I am examing this on a android phone it can't handle cout; So is there a established way to send it through __android_log_print()? which is pretty much the same as printf().

Or do I need to write my own customised version of std::String Mat_to_Sting(cv::Mat)?