Bear with me please as I am a computer science major and not a robotics major but I have a robotics class as an elective and we have to make a group project.
In our group project we are making a robot that plays blackjack by pulling a card out of a holder, reading it, then placing it in a respective area.
The issue we are having is that our 2d vision process tool has multiple GMP locator tools (one for each value, 4 6s and 4 9s) and have an associated model for each so when the card is read its model id is sent back to the robot for use in the program. Only problem is, we cannot find a way to have the vision process return the model Id. After some time we unanimously assumed that the id would be returned any time you ran a get function like get_offset. We cant test this, however, because for some reason our vision process wont allow us to set a reference position so that we can FIND an offset.
So my question is, how can we get the robot's vision to return the model id of a found object and return it to the controller? Thanks.