Python CV2 报错 是什么意思?怎么解决? 15
importcv2img=cv2.imread("D:\Sample\foto.jpg")cv2.namedWindow("Sample")cv2.imshow("Sam...
import cv2
img = cv2.imread("D:\Sample\foto.jpg")
cv2.namedWindow ("Sample")
cv2.imshow ("Sample",img)
cv2.waitKey (0)
cv2.destroyAllWindows()
error: C:\slave\WinInstallerMegaPack\src\opencv\modules\core\src\array.cpp:2482: error: (-206) Unrecognized or unsupported array type 展开
img = cv2.imread("D:\Sample\foto.jpg")
cv2.namedWindow ("Sample")
cv2.imshow ("Sample",img)
cv2.waitKey (0)
cv2.destroyAllWindows()
error: C:\slave\WinInstallerMegaPack\src\opencv\modules\core\src\array.cpp:2482: error: (-206) Unrecognized or unsupported array type 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询