Can you read this image by using imRead function?
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?
(This image looks black rectangle)
please put your image here, not on some external box (edit your question, and use the "upload image" button)
image link is broken
I added image after click edit button, but it does not added any image.
i can open the image (you send me) with paint app and google chrome. but imread gives
libpng error: Read Error
where you get the image file (Focus.png)?
see https://github.com/glennrp/libpng/iss...
The image was taken from the machine vision camera in use. Other images were normal. Only the image was not normal.