奶酪能认出我的摄像头。v4l2-ctl --list-devices
的输出:
HD WebCam (usb-0000:00:14.0-7):
/dev/video0
然而,ARToolKit5不识别相机并输出SMPTE颜色条。不确定这是GStreamer还是ARToolKit的问题。输出:
$ sudo ./simpleTest
Using video configuration ''.
Using default video config.
libARvideo: GStreamer 0.10.36
libARvideo: GStreamer pipeline is READY!
libARvideo: GStreamer negotiated 320x240@30.000fps
libARvideo: allocating 230400 bytes
libARvideo: GStreamer pipeline is PAUSED.
Image size (x,y) = (320,240)
*** Camera Parameter ***
--------------------------------------
SIZE = 320, 240
Distortion factor: k1=0.1147807688, k2=-0.5208189487, p1=-0.0002069871, p2=-0.0040593124
fx=337.085815, fy=316.949043, x0=159.148895, y0=118.950233, s=0.993923
339.14696 0.00000 159.14890 0.00000
0.00000 318.88706 118.95023 0.00000
0.00000 0.00000 1.00000 0.00000
--------------------------------------
我尝试过在env变量这些字符串中使用ARTOOLKIT5_VCONF
:-device=LinuxV4L
、-device=GStreamer
、-device=Linux1394Cam
。对如何识别摄像机有什么帮助吗?
发布于 2017-10-09 01:46:44
LinuxV4L2是正确的设备名称,在自述文件中列出,但不在联机文档中列出。
export ARTOOLKIT5_VCONF="-device=LinuxV4L2"
https://askubuntu.com/questions/962930
复制相似问题