AI for Real-Time Detection of Learning Difficulties