Closed learncodingforweb closed 2 months ago
Does it work with Python or C++ code?
yes, it works with python as
cam = cv2.VideoCapture("rtsp://admin:admin@192.168.1.10:554")
I see, then using VideoCapture::from_file
should do the trick.
Yes, it is working fine for
let cam = videoio::VideoCapture::from_file("rtsp://admin:admin@192.168.1.10:554", videoio::CAP_ANY)?;
I am using usb camera, it is working fine. using
But how can i open ip camera with url rtsp://admin:admin@192.168.1.10:554?
rustc --version rustc 1.77.2 (25ef9e3d8 2024-04-09)