The cameras are doing facial recognition as you enter and leave.
The badge is just part of it.
The RFID tag in your badge tracks you throughout the facility.
You can choose to believe it or not, but Intel was actually doing all this before it became popular at Amazon and other tech companies. Intel was doing it to catch people who were stealing or otherwise needed to be watched.
They added AI to these systems, which used to just be recorded and lightly monitored.
Amazon is now showing all the other companies what the new AI workplace will be, so read up on how that is going because if you are working at all, it will be in that environment.
May get to a point where you never meet your human manager, kind of like how it is for amazon drivers and warehouse workers now. They work for an app, and the app is paying close attention to what they are doing at all times.