我在Python中使用OpenCV库时遇到问题。我想阅读图片,但我遇到了一个错误。这是我关于那个错误的图片。请帮我解决。非常感谢。[1] :https://i.stack.imgur.com/LTksI.png
尝试给出路径而不是文件名
路径
path=r'C:\Users\Prajjwal\Desktop\sample.png'
使用cv2.imread((方法
img=cv2.imread(路径(
我在Python中使用OpenCV库时遇到问题。我想阅读图片,但我遇到了一个错误。这是我关于那个错误的图片。请帮我解决。非常感谢。[1] :https://i.stack.imgur.com/LTksI.png
尝试给出路径而不是文件名
path=r'C:\Users\Prajjwal\Desktop\sample.png'
img=cv2.imread(路径(
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium