在C ++程序中寻址网络摄像头 [英] Addressing webcam in C++ program
问题描述
我的硬件是带有Win 10操作系统的HP Pavilion,但我的要求更为通用。我需要找到一种方法来解决我的网络摄像头,它可能是内置网络摄像头或附加的外部设备。我用谷歌搜索了半个小时并收集了一些信息。首先
我去了我的Netgear路由器工作正常,在另一列找到了8个MAC地址和5个IP地址。其中三个MAC没有相应的IP地址。然后在Google上搜索后,我找到了
这个网站,据称可以显示你的相机的IP地址。它向我展示了一个与我在Netgear路由器中看到的无关的IP。
My hardware is HP Pavilion with Win 10 OS, however my request is more general. I need to find a way to address my webcam, it may either be a built in webcam or an attached external device. I googled for half an hour and collected some information. First I went to my Netgear router which is working fine and found 8 MAC addresses and 5 IP addresses in the other column. Three of the MAC's do not have corresponding IP addresses. Then after googling I found this website which purported to reveal the IP address of your camera. It showed me an IP which has nothing to do with what I see in Netgear router.
对这个网站的任何看法?
Any opinion about this website?
我也想要学习从C ++代码处理网络摄像头的命令,甚至可能是如何完成颜色编码。
I also want to learn the commands to address a web camera from C++ code and possibly even how the color coding is done.
任何帮助都将不胜感激。
Any help will be appreciated.
谢谢你, - MyCatAlex
Thank you, - MyCatAlex
推荐答案
@ Castorix31,谢谢。你可能是对的,有很多方法。我忘记了它,但刚刚发现我有一个链接到一段似乎是用于编码颜色的C ++代码。请
看看。我还没有尝试过。您怎么看?
@Castorix31, thank you. You are probably correct, there are many ways. I forgot about it but just discovered that I have this link to a piece of what seems to be C++ code for coding color. Please take a look. I haven't tried it yet. What do you think?
谢谢, - MyCatAlex
Thanks, - MyCatAlex
这篇关于在C ++程序中寻址网络摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!