Hello,
I'm using an OAK-D to count people passing a line. The camera is placed on top of people's heads and facing vertically downwards. It will be moved every day to a completely new location. Currently, the plan is to draw a rectangle on each frame and I ask the user to rotate the camera in order to align the rectangle with a piece of rectanglular cardboard on the floor. This alignment will be done every morning, but cannot be repeated during the day (for customer reasons). This way, the camera is aligned with the direction of people flow, and I am able to count the number of people crossing in a certain direction, e.g. Up to Down. However, the camera is mounted on a huge microphone boom stand, so it is possible that people might nudge it a bit or a lot and we loose the alignment.
I'm wondering if there is an easier/better way than the above, which does not involve user involvement every day, and which would be more robust to changes in the camera orientation. One idea is to have 2 squares of 1.75" x 1.75" printed on the stanchions with special QR codes, one for the left square and one for the right square. If I am able to tell the orientation of the QR codes and the virtual line segment between them, I can do the math to rotate my crossing line to compensate for any changes in the camera orientation on-the-fly.
Is there a way that OAK-D can tell the orientation of a QR code (or an object) with precise angle?
I'm asking for a QR code because this is the only thing that we can print and put on the top piece of a stanchion, and we are already using stanchions to manage people flow. We cannot put any other object (e.g. the piece of cardboard) at any time during the day when we're couting people.
Thanks!