RobotWebTools / web_video_server

HTTP Streaming of ROS Image Topics in Multiple Formats
http://ros.org/wiki/web_video_server
Other
269 stars 187 forks source link

can OpenCV read in video stream? #122

Open khoatran94 opened 2 years ago

khoatran94 commented 2 years ago

I am so sorry but I think this question is related to this package more than ROS. I was using OpenCV (4.1.2) cv2.VideoCapture() to try to read from the video stream create by web_video_server package and encounter the problem: 'can't find starting number (in the name of file): http://192.168.0.19:8080/stream_viewer?topic=/cv_camera/image_raw in function 'icvExtractPattern' '. I cannot understand because, in OpenCV docs, it is stated that URL of video stream is accepted