Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stream live video in openCv from localHost port (http://192.168.1.1:8080)

Tags:

android

opencv

How can i make a live stream in openCv, knowing that an android device stream his camera preview at local host http://192.168.4.185:8095, and the encoding is h264. So if i type in browser of the computer "http://192.168.4.185:8095" i will see the live video camera from android device. How can i get this live video to openCv either? Thanks.

like image 495
Dany's Avatar asked Dec 07 '25 20:12

Dany's


1 Answers

Use a VideoCapture, and open it with the path as "http://device_ip:port".

like image 95
Sam Avatar answered Dec 10 '25 00:12

Sam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!