Multi-camera OpenCV project. camera indices change

“I am using six USB cameras for a multi-camera OpenCV project. Each time I reconnect or reboot the system, the camera indices change, and even the USB serial mappings are inconsistent. How can I reliably maintain a fixed and correct camera order for proper alignment in OpenCV?”