It is like
cap.open(samples::findFile("lena.jpg"));
cap >> img;
and
img=imread(samples::findFile("lena.jpg"));
img are not equal (on windows)
and again for inference results will not be equal with same data file
It is like
cap.open(samples::findFile("lena.jpg"));
cap >> img;
and
img=imread(samples::findFile("lena.jpg"));
img are not equal (on windows)
and again for inference results will not be equal with same data file