Android Phone Ip网络摄像头应用程序不适用于Java中的openCV [英] Android Phone Ip webcam app doesn't work with openCV in java

查看:62
本文介绍了Android Phone Ip网络摄像头应用程序不适用于Java中的openCV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了ip网络摄像头应用以将视频直接流式传输到java中的openCv,我尝试使用this.videoCapture.open("http://192.168.43.1:8080/video");将其连接,如下图所示

I downloaded Ip webcam app to stream a video directly to openCv in java,I tried to connect it using this.videoCapture.open("http://192.168.43.1:8080/video"); As recommended in the image below

但是我仍然无法使用网络摄像头在this.videoCapture.open(0);上运行.我还尝试了

But I'm getting nothing yet it works with this.videoCapture.open(0); using my webcam .I also tried every thing on this link changing the url to http://192.168.43.1:8080/video.mjpg and http://192.168.43.1:8080/video.mjpeg but no positive results.

推荐答案

我通过下载适用于PC和android的Droid Cam而不是Ip Webcam来获得解决方案.这帮助我轻松地访问了我的android手机摄像头,而不是使用url.应用程序和使用

I got the solution by downloading Droid Cam for Pc and android instead of Ip Webcam.This helped me access my android phone camera easily instead of using url.I Opened the application and used

this.videoCapture.open(1);

因为在我的情况下,它被识别为索引1的网络摄像头.

Since it is recognized as webcam at index 1 in my case.

这篇关于Android Phone Ip网络摄像头应用程序不适用于Java中的openCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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