How to get MJPG stream video from android IPWebcam using opencv

前端 未结 5 1501
暗喜
暗喜 2021-02-04 19:48

I am using the IP Webcam program on android and receiving it on my PC by WiFi. What I want is to use opencv in Visual Studio, C++, to get that video stream, there is an option t

5条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 20:09

    This is the solution (im using IP Webcam on android):

    CvCapture* capture = 0;
    capture = cvCaptureFromFile("http://IP:Port/videofeed?dummy=param.mjpg");
    

    I am not able to comment, so im posting new post. In original answer is an error - used / before dummy. THX for solution.

提交回复
热议问题