对于相同的图像,skimage可以显示它,但opencv不能

时间:2017-03-29 09:46:42

标签: opencv scikit-image

正如您所看到的,对于相同的图像,skimage可以显示它,但opencv挂起,

from skimage import io
import cv2

cap = cv2.VideoCapture('../../../data/video/vtest.avi')

ret, frame = cap.read()

# skimage can show it
io.imshow(frame)
# but opencv can't
cv2.imshow("Prvs", frame)
cv2.waitKey(1) & 0xFF 

 [![running result][1]][1]
你能告诉我吗:    1,为什么呢?    2,对于类似的情况,如何调试opencv?

0 个答案:

没有答案