2020-10-11 15:12:35 -0600 | received badge | ● Famous Question (source) |
2019-08-31 23:02:45 -0600 | received badge | ● Notable Question (source) |
2018-12-07 15:01:40 -0600 | received badge | ● Popular Question (source) |
2015-12-17 07:24:16 -0600 | received badge | ● Student (source) |
2015-12-07 00:25:52 -0600 | asked a question | problem with imread() in python I have a issue of reading a image with imread() in Python. I downloaded opencv 3.0.0 and numpy to C:\Python27\LIb\site-packages. and then I tried to get my image file and I typed the test code in follow. but I got a error message like 'size.width > 0 && height>0 in function cv::imshow' . it seems that imread failed to get my image. I am thinking I did wrong way to get the image path (I am sure that test.jpg is in local disk(C:)), then I tried various ways to get the image path like 'C:\test.jpg', 'C:/test.jpg', etc. but these did not work. I am sure that opencv and numpy is working, because when I coded like, Grayish screen came out. Can anyone help ? Thanks |
2015-12-07 00:25:51 -0600 | asked a question | problem with imread() in Python I have a issue of reading a image with imread() in Python. I downloaded opencv 3.0.0 and numpy to C:\Python27\LIb\site-packages. and then I tried to get my image file and I typed the test code in follow. but I got a error message like 'size.width > 0 && height>0 in function cv::imshow' . it seems that imread failed to get my image. I am thinking I did wrong way to get the image path (I am sure that test.jpg is in local disk(C:)), then I tried various ways to get the image path like 'C:\test.jpg', 'C:/test.jpg', etc. but these did not work. I am sure that opencv and numpy is working, because when I coded like, Grayish screen came out. Can anyone help ? Thanks |