ofxAruco different designs per marker


I’m currently working on a project using ofxAruco and I wanted to have different objects appear on different markers but currently each marker shows the same design. It picks up all the markers but each marker isn’t assigned it’s own number within the array, it is decided by whichever marker is recognised first.

Therefore, with this code the design changes depending on which marker is first recognised in the scene as the individual QR code is not assigned a number ( I don’t think ).

every marker has a unique id that you can access using something like:

for(int i=0;i<aruco.getNumMarkers();i++){

Thank you so much for your quick reply, that’s worked perfectly!