Enhancing real-time patient activity recognition for consistent performance in varying illumination and complex indoor environment | Synapse