如何为网络摄像头提供参数 [英] How to give argument for webcam

查看:152
本文介绍了如何为网络摄像头提供参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用命令行参数和问题与我的最后一个问题相关,因为我想通过网络摄像头检查,但当我给相机操作(0)命令行参数,

它给我的错误,因为无效的参数0

这是我最后解释的问题,但在那个问题我使用图像路径,但现在我想打开网络摄像头功能测试。这是我用于测试的示例程序

I am using command line argument and by question is related to my last question as i want to check it through webcam but when i give command line argument regarding camera operation (0), it give me error on it as invalid argument 0. This my explained last question but in that question i am using image path, but now i want to open webcam functionality for testing. This is the Sample Program i am using for testing and checking result.

推荐答案

要使用默认摄像头,您需要传递 -i 参数。

To use default camera, you need to not pass -i argument.

此命令行适用于我:

path\\to\\cascade\\facefinder -m 128 -M 1024 -a 0.0 -q 5.0 -c 1.1 -t 0.1

除第一个参数之外的所有参数都是可选的。

All but first arguments are optional.

这篇关于如何为网络摄像头提供参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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