【发布时间】:2020-03-29 09:28:30
【问题描述】:
import cv2
cap = cv2.VideoCapture(0)
status , photo = cap.read()
cv2.imwrite('Surendar.png',photo)
cap.release()
cv2.imshow('image', photo)
cv2.waitKey(5000)
cv2.destroyAllWindows()
我在我的 jupyter 笔记本中解释了这段代码。它只是符合但不显示图片的新窗口。
【问题讨论】:
-
我认为 jupyter 服务器没有在本地机器上运行?
标签: python-3.x opencv