如何为网络摄像头提供参数 [英] How to give argument for webcam
问题描述
我使用命令行参数和问题是相关的我的最后一个问题,因为我想通过网络摄像头检查,但当我给相机操作(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屋!