# Global state for the application # The Master Identity Database (Loaded from embeddings.pickle) # Format: { "Name": { "ArcFace": [vec], "Facenet512": [vec] } } KNOWN_VECTORS = {} # Keep track of recently seen people to prevent log spam last_seen = {} attendance_memory = [] # List of all active websocket connections to broadcast to active_connections = []