Artificial intelligence to detect tympanic membrane perforations