Hello, everyone I found something strange
I can't read this image by imRead function. But can read this image by c# function.
This is my test code.
string path = "Focus.png";
Bitmap bitmap = new Bitmap(path); //success
pictureBox1.BackgroundImage = bitmap;
Mat mat = Cv2.ImRead(path, ImreadModes.Unchanged); Cv2.ImShow("test", mat); //error Cv2.WaitKey(0);
I don't have any idea about this issue. Could you help me?