在OpenCV中实时视频流从本地主机端口(http://192.168.1.1:8080) [英] Stream live video in openCv from localHost port (http://192.168.1.1:8080)

查看:1576
本文介绍了在OpenCV中实时视频流从本地主机端口(http://192.168.1.1:8080)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何才能在OpenCV的实时流,知道Android设备在本地主机 HTTP流他的相机preVIEW ://192.168.4.185:8095 和编码是H264。
所以,如果我在电脑http://192.168.4.185:8095的浏览器中键入我将看到来自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.

推荐答案

使用一个VideoCapture,并与路径打开它的http:// device_ip:端口。

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

这篇关于在OpenCV中实时视频流从本地主机端口(http://192.168.1.1:8080)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆