AprilTag
AprilTags are conceptually similar to QR Codes, in that they are a type of two-dimensional bar code. However, they are designed to encode far smaller data payloads (between 4 and 12 bits), allowing them to be detected more robustly and from longer ranges. Further, they are designed for high localization accuracy— you can compute the precise 3D position of the AprilTag with respect to the camera.
[AprilTags Tutorial](https://april.eecs.umich.edu/software/apriltag)
Detecting AprilTag with OpenCV
pip install apriltag
for more details see pyimagesearch