[英]Python open cv2 ip web cam doesn't work its showing error
Python 打開 cv2 ip web 凸輪無法正常工作,其顯示錯誤是正確的......我的 Z957B5206BFBAD32E14F3 也是
cap = cv2.VideoCapture('http://192.168.4.18:8080/Image')
while True:
ret, frame = cap.read()
cv2.imgshow("Capturing",frame)
#print('Running..')
if cv2.waitKey(1) & 0xFF == ord('q'):
break
錯誤
Traceback (most recent call last):
cv2.imgshow("Capturing",frame)
AttributeError: module 'cv2.cv2' has no attribute 'imgshow'
>>>
檢查這是語法錯誤
cv2.imshow("正在捕獲",frame)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.