我是 Ubuntu 新手,我想在我的 USB-3.0 相機上使用 OpenCV。我有一個問題,Ubuntu 不認為它是一台相機? lshw 的輸出在我的附圖中。是不是那個ubuntu看錯了?我怎麼才能正確安裝它?先致謝
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
應用程式(如guvcview
、cheese
等)來演示該相機的一些功能。開放式電腦視覺也兼容,因為它用於v4l2
訪問相機。