KERNEL =="video*",ATTR{index}=="0",KERNELS=="1-1.3",MODE:="0777",SYMLINK+="my_video1"
KERNEL =="video*",ATTR{index}=="0",KERNELS=="5-1",MODE:="0777",SYMLINK+="my_video2"
将SYMLINK改成video1,video2
然后插拔一下摄像头usb
输入
ls -l /dev |grep video
然后调用摄像头2
self.video_capture = cv2.VideoCapture(2)