This is a paper written by people at the University of Delaware about the cues we get about someones pain level based on facial expression. The authors can be quoted in the abstract saying;  "Accurate visual perception of pain is critical, since the misperception of pain signals can result in significant consequences in social, criminal justice, and medical contexts."

https://psyarxiv.com/kjez5/