如何安装USB3.0摄像头?

如何安装USB3.0摄像头?

我是 Ubuntu 新手,我想在我的 USB-3.0 相机上使用 OpenCV。我遇到了一个问题,Ubuntu 无法将其视为相机?lshw 的输出如附图所示。ubuntu 是否将其视为错误?我该如何正确安装它?提前致谢

lshw-输出

系统盘

lsusb 输出:总线 004 设备 002:ID 2560:cld1

摄像头:e-consystems Ubuntu 18.04 的 See3CAM_CU135

dmesg-输出:

[12390.573045] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[12390.584376] usb 4-1: LPM exit latency is zeroed, disabling LPM.
[12390.585285] usb 4-1: New USB device found, idVendor=2560, idProduct=c1d1
[12390.585546] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12390.585580] usb 4-1: Product: See3CAM_CU135
[12390.585599] usb 4-1: Manufacturer: e-con systems
[12390.585617] usb 4-1: SerialNumber: 0E24480C
[12390.613855] hid-generic 0003:2560:C1D1.0001: hiddev0,hidraw0: USB HID v1.11 Device [e-con systems See3CAM_CU135] on usb-xhci-hcd.11.auto-1/input2
[12390.685248] uvcvideo: Found UVC 1.00 device See3CAM_CU135 (2560:c1d1)
[12390.688372] input: See3CAM_CU135 as /devices/platform/usb1/fe900000.dwc3/xhci-hcd.11.auto/usb4/4-1/4-1:1.0/input/input3
[12390.688919] usbcore: registered new interface driver uvcvideo
[12390.688931] USB Video Class driver (1.1.1)

答案1

dmesg日志中,摄像头被成功检测到:

[12390.585580] usb 4-1: Product: See3CAM_CU135
[12390.585599] usb 4-1: Manufacturer: e-con systems
[12390.585617] usb 4-1: SerialNumber: 0E24480C
[12390.613855] hid-generic 0003:2560:C1D1.0001:

该相机v4l2兼容,因此您可以根据任何v4l2应用程序(如guvcviewcheese等)来演示该相机的某些功能。OpenCV也兼容,因为它用于v4l2访问相机。

相关内容