We need to speed up the apriltag search in our image by a factor 20x at least, there can be multiple tags in one image. Since we have a good estimation of where we can expect them in the image, this is possible by reducing the search space for each tag by searching within a bounding box (x1,y1)(x2,y2). This is not part of the API. So how can we do this efficiently?
The gpu code of april tag is closed source. So is there a way to:
- open up the source code so that we can add this feature ourselves
- have multiple instances of the apriltag cuda running on different patches of the image?
Nbr 2) is more complex than it sounds as apriltag takes the camera model, and we’d have to offset the camera model for each frame for each instance depending on the location of the bounding box in the image.
This is for a Jetson device (in a mobile robot), so scaling up the gpu is not possible.