Real-time subtitle detection and translation