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
First find out your IP camera's streaming url, like whether it's RTSP/HTTP etc.
Code changes will be as follows:
cap = cv2.VideoCapture("ipcam_streaming_url")
For example:
cap = cv2.VideoCapture("http://192.168.18.37:8090/test.mjpeg")