Looks like your apriltag detector is not configured correctly. Can you post the launch file for the apriltag detector?
Here are the things to check:
- are you using the correct family? This looks like a 16hh family, not the default one. Make sure you specify that family in your detector launch file. Look at the debug image output of the detector. It should show the tags painted into the image.
- is the black border width set to 1 (only if using the MIT detector)?
I recommend switching the detector to UMich (I think the default used is MIT).