Skip to content

Instantly share code, notes, and snippets.

Last active September 7, 2015 04:51
What would you like to do?
How to check OpenCV Mat data type ?
Mat test = Mat::zeros(nHeight, nWidth, CV_32FC4);
if(test.type() == CV_32FC4){
printf("Correct data type\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment