1 | initial version |
Well, as far as I know this is not really an OpenCV issue. The device name of the cameras that you connect to your computer will depend on the operative system. So if, for example, you are using unbuntu/debian you should write udev rules so that every time you connect a camera with a certain serial number, it gets the same device name.
I hope this points you in the right direction.