Access IP Camera in Python OpenCV

后端 未结 11 1410
执笔经年
执笔经年 2020-11-29 01:49

How do I access my IP Camera stream?

Code for displaying a standard webcam stream is

import cv2
import numpy as np

cap = cv2.VideoCapture(0)

while(Tr         


        
11条回答
  •  眼角桃花
    2020-11-29 02:27

    For getting the IP Camera video link:

    1. Open the IP Camera with given IP and PORT in browser
    2. Right click the video and select "copy image address"
    3. Use that address to capture video

提交回复
热议问题