Adding Another Tag That the Camera Sees to the Body Box

I want to sync and protect the QR or AprilTag number 1 label I tagged on the cctv camera into the person’s body box. How can I do this? Thanks…

I stated it as a shape in a PDF file

You just see if the tag bounding box intersects the person box. Find if two rectangles overlap - GeeksforGeeks