I have two instances of cv::Mat : m1 and m2. They are of the same numeric type and sizes. Is there any function in OpenCV that returns whether the matrices are identical (ha
Use cv::compare combined with cv::countNonZero.
An SO question that might help you further OpenCV compare two images and get different pixels