Python打开cv2 ip网络摄像头无法正常工作,显示错误....我的ip也正确,但
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(“捕获”,框架)
关于python - Python Open CV2 IP网络摄像头无法正常工作,显示错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61882626/