Deep learning analysis of polaritonic waves images