A flexible platform for understanding the emotional response of an individual or group in real-time