I have a bunch of Oak Max cameras mounted on a single bracket. I need to be able to identify the physical position for each camera. I would like to create a python script that enumerates through all the cameras, then turns on a light or something for each of them so the user can enter in the light's position on the bracket.

I am already using the depthai python library. I was hoping that I could turn on an LED or something on a specific camera. This is very simple but I can't find anything in the library that can do that.

Maybe, maybe I could use the IR flood light for this. So the script turns on the light for a single camera, and user uses a phone or something to see which camera it is, enters its bracket position, and the flood light is turned off. Closer, but not nearly ideal.

So is there a way using the depthai to use some feature that will allow a person to identify a camera amongst a bunch of other cameras?

    Hi StephenPotter
    What about using a chessboard that all cameras on a bracket can see, you can use something like multi cam calibration to infer positions of each camera - pretty accurately even.

    Alternatively you can place an aruco marker in sight and just gather position information based of where that marker is located in the image frame for each device. That works assuming all cameras are on the same plane and are not rotated.

    Thoughts?
    Jaka

    5 days later

    Jaka, that's a good idea, a totally different approach. We already have a calibration program set up. I will check that out. Thanks!