Closed ImanityDev closed 2 years ago
Hey Madv0x,
if your webcam supports the Real-Time Streaming Protocol (RTSP) you can simply provide the RTSP URL in the open method of the VideoCap object. If your webcam does not support RTSP, you have to give it a try using the device index in the open method. It shoudl work, however I haven't tested this case. If it does not work, the implementation of VideoCap::open
in src/video_cap.cpp
has to be modified. The source code of the videoio module in OpenCV can provide hints on how to do it: https://github.com/opencv/opencv/blob/master/modules/videoio/src/cap_ffmpeg_impl.hpp#L883
Closing due to inactivity. Feel free to reopen for further discussion.
Hi @LukasBommes, thanks for your amazing library. I have some questions, please help me
Please take a look and help me. Thank you so much
I was looking to implement several types of motion detection with a webcam on an embedded system. However, for this project to work I'd either need to implement all of this myself or have direct access to the webcam via the VideoCap-class, just like OpenCV does it using the device index. Would this be possible to implement?