Automatic Pain Assessment Through Facial Expressions