1 | initial version |
What do you count as "the same"? Pixelwise equality? In this case cv::sum(cv::absdiff(img_a,img_b)) == 0 is the test you want to run. (Or something faster that fails faster if the images are not the same)
2 | No.2 Revision |
What do you count as "the same"? Pixelwise equality? In this case cv::sum(cv::absdiff(img_a,img_b)) cv::sum(cv::absdiff(current_image,reference_image))
== 0 0 is the test you want to run. (Or something faster that fails faster if the images are not the same)