I have multiple cameras connected to my Jetson board running Ubuntu.
I use C++ and OpenCV 4.7.0 to grab frames from the cameras.
Currently I open the cameras by index. But that is not a good practice because I’m not sure which index is which camera. So how to do this?
It is strange that I can not find anything about this in this forum. Maybe I use wrong search terms.
I can create a loop and open VideoCapture devices with indexes from 0 to some maximum. But how do I get more information from an opened camera to find out if this is the correct one?
What may make it more difficult is that I have several cameras of the same brand and type.