find-object icon indicating copy to clipboard operation
find-object copied to clipboard

M-JPEG streamer

Open exist16 opened this issue 6 years ago • 4 comments

Question: is there a way to use M-JPEG streamer installed in raspberry pi as the camera source. I think, using the actual tcp/ip settings is not possible to transfer the video from raspberry. P.S.: the application is running on a pc .

exist16 avatar Feb 06 '19 09:02 exist16

Possible solution: https://github.com/introlab/find-object/issues/32

matlabbe avatar Feb 10 '19 21:02 matlabbe

Thanks matlabbe, it worked. one more question: How could we detect if the stream freeze? because it continues to show the last active frame, although there is no active connection.

exist16 avatar Feb 18 '19 17:02 exist16

We use cv::VideoCapture class from OpenCV, the image query is there: https://github.com/introlab/find-object/blob/ef0c565b7e3b3a3e78ae5424a7536cf3dd3e9101/src/Camera.cpp#L126

There are couple solutions in this post: https://stackoverflow.com/questions/30032063/opencv-videocapture-lag-due-to-the-capture-buffer

matlabbe avatar Feb 23 '19 22:02 matlabbe

thank you.. I have resolved the issue

exist16 avatar Mar 21 '19 19:03 exist16