Automated real-time detection of lung sliding using artificial intelligence: a prospective diagnostic accuracy study